Paypal Plus in Gatsby.js app?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everybody.
I've a big issue integrating PayPal Plus into a Gatsby.js app with Firebase Functions as a backend. Basically, I have kind of no backend and no place to store state (eg api token).
The description here https://developer.paypal.com/docs/paypal-plus/germany/ is focusing mostly on the regular webpages and is not suitable for the React applications.
PayPal checkout library https://github.com/paypal/paypal-checkout/ doesn't support Paypal Plus integration, I have already raised an issue there a year ago, but there was no feedback: https://github.com/paypal/paypal-checkout/issues/580
I have tried to work my way around library limitations and was able to create a token and payment inside my react app, the main problem I have is how to render the paywall. ppplus javascript library is not suitable for node and react apps and I am not that proficient in javascript to manually wrap the library into a node module, especially without any access to the source code.
Any help appreciated, ideally from the PayPal developers.
Thanks
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Sandbox testing has beaten me !! in Sandbox Environment
- Sandbox account not generating IPNs in Sandbox Environment
- Disputes Webhook does not works on Sandbox (23/04/24) in Sandbox Environment
- Customising Paypal Checkout Button in PayPal Payments Standard
- Pending Transaction - CLearly Declined by Merchant in PayPal Payments Standard