New to using the API

AndrewDay
Contributor
Contributor

Hey Guys,

 

I am looking at the API and did not realize there was a V2 of the api and started to develop for V1 and i was able to get a token and create a payment etc via postman. if i am correct the flow should be something like:

  • Get Token
  • Create Payment
  • Approve Payment (user logs into PayPal and authorizes it)
  • Execute Payment (Payment is processed)

this is what I was following paypal-payments 

 

But am not sure what are the steps i need to do with V2. I just want to have a user log into paypal to finish it and get a success/fail response back.

I am using the API directly and not one of the SDK's as this is being done in Salesforce.

 

Any help with the order of operations would be great, and any other help hint.

 

BTW, i all ready have it getting the token in Salesforce but it is from the v1 api "/v1/oauth2/token"

 

Thanks

 

 

 

 

 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.