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.