OAuth Selection for PayPal

I’m not sure I fully understand what I’m doing, but I’m giving it a try anyway. So far I have created a PayPal Business Account and I have access to the PayPal Developer side of things. The Developer instructions under “Getting Started” advises the following:

"The PayPal REST API uses the OAuth 2.0 protocol to authorize calls. OAuth is an open standard that many companies use to provide secure access to protected resources.

When you create an app, PayPal generates a set of OAuth client ID and secret credentials for your app for both the sandbox and live environments. You pass these credentials in the Authorization header in a get access token request.

In exchange for these credentials, the PayPal authorization server issues access tokens called bearer tokens that you use for authorization when you make REST API requests. A bearer token enables you to complete actions on behalf of, and with the approval of, the resource owner."

Now this brings me to the API connector. I set the API name to “PayPal”. There is a section that is labeled “Authentication” with a drop down menu to choose from the following OAuth2 selections:

-OAuth2 Password Flow
-OAuth2 User-Agent Flow
-OAuth2 Custom Token

Which of them do I choose?

I want PayPal to be connected to my app, so I can start sending API request, to build a custom cart with custom checkout workflows.

Sorry if I’m way off base with how I’m attempting to do this. There isn’t any free help videos out there that are answering my questions, so the Bubble community is all I have as a way of figuring this out.


Okay so, I selected “OAuth2 User-Agent Flow”. Then, I filled out the info shown in the screenshot below.

I’m unsure, should “Use a generic redirect URL” be checked? And how do I test whether or not I’m connected?

Now, I’ve attempted a random “GET” request to see what would happen. I’m just assuming this is how I’d test whether or not my site is talking to PayPal. So, this is what I attempted to do:

and this is the error message I received:


Can someone please assist me? I’m soooo confused and lost with this whole thing. I want to start building the functionality to accept payments, provide invoices, refund payments etc.

This topic was automatically closed after 70 days. New replies are no longer allowed.