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.
- Error message for obtaining access_token in REST APIs
- where does paypal payments go to if there is no linked phone or email to the seller ? in PayPal Payments Standard
- Couldn't receive International payment in PayPal Payments Standard
- Which api can get oauth2.0 authorization_code? in REST APIs
- Is it possible to make payments in RON (Romanian Leu) through PayPal? in REST APIs