I have the same issue for Stripe. I’ve already finished it.
User connect Stripe to Bubble app by
Writing his Stripe Secret in the input in Bubble
Tapping button “Connect Stripe”
On the background I call the same API call that I’ve helped me above, but for Stripe. In the call I just use user’s Secret, this “Secret” parameter in my call is not private, I use “Private key in header”.
It works perfectly.
But for Paypal for this “OAuth2 Custom Token” I am not sure how to dynamically send user’s credentials in the URL
Just set the exact same thing in an API Call (POST call to the token endpoint). Set it as DATA request. replace client id and client secret with https://[clientid]:[clientsecret]@…
You will be able to dynamically fill this information
Use this call when you call other API Call by adding Authorization header with value Bearer
and add the access token from the GET Token endpoint
But honestly, you should consider the normal oAuth2 authorization code WF to authenticate user in Both Stripe and Paypal. User doesn’t need to create their own dev account or API key and just need to connect.
Hi, @Jici . I’ve managed to make oAuth for Stripe. Now my users login into their account and once they do this, they are connected to my Stripe Connect platform and I have control over their accounts.
I can’t find similar for Paypal, the only thing I see is just Log In with Paypal to retrieve user data.
Do you now any Paypal solutions for Auth? I need to Sign In my users and create webhooks in their accounts. From what I’ve seen, Paypal just give me opportunity to send GET requests, no POSTs.
Papal has “Onboard Sellers”, it allows me to get user’s clientID and secret, but I am not sure I would be able to create webhook for this user in his account. Also, “Seller” sounds irrelevant, like it narrows the audience that can use my app then.