How do I initiate checkout with an auth token retrieved from the rest api?

admiller97
New Community Member

We have a javascript based front end connected to a set of api endpoints our back end exposes.  We initiate a call to our backend that makes a call to the paypal rest api to authorize future payments.  A token is returned from the paypal api, that our web service then passes to our javascript front end.  How do I pass this token to the new checkout.js script to complete the authorization?  I've attached a screenshot of what the integration looks like from the front end currently (using the old paypal checkout.js)

Capture.PNG

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.