Paypal Plus in Gatsby.js app?

AAverin
Contributor
Contributor

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

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.