Is it possible to avoid PayPal's javascript for checkout?

leeoniya
Contributor
Contributor

Hello,

 

We are currently using PayPal's deprecated Express Checkout API to do separate authorizations and captures:

 

https://developer.paypal.com/docs/classic/express-checkout/ec-api-flow/

 

I'm wondering whether it is possible to get the same flow with any currently supported API. My goal is to avoid injecting any third party JS and to prevent any DOM from being modified by this JS. After some searching, it appears that there's no way to get this done.

 

It seems what could previously be done without any dependencies and a few dozen lines of code now requires deps on both client (https://www.paypal.com/sdk/js?client-id=sb) and server (@paypal/checkout-server-sdk).

 

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.