Is it possible to avoid PayPal's javascript for checkout?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Labels:
-
Express Checkout
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Magento 2 Checkout Screen Asking For Credit Card in Merchant Products and Services Archives
- PayPal Fees on Refunds in Reporting Archives
- Guest Checkout in Merchant Products and Services Archives
- What's the difference between PAYMENT.CAPTURE.COMPLETED and CHECKOUT.ORDER.APPROVED in Merchant Products and Services Archives
- Buyers having a billing address in India cannot use PayPal to make payments in Merchant Products and Services Archives