PayPal-Node-SDK + electron


#1

Good Morning.

Currently working on an App that requires to manage payments through PayPal. Currently this application uses Polymer + Electron + PayPal-Node-SDK.

I can currently create the payment with the sdk and redirect the window to paypal to handle the payment part. My issue is returning back to the application for confirmation and payment execution. Paypal does not like to redirect to “file” protocol.

I have looked into some options on how to accomplish this by running a mini server or by having it finish somewhere else externally capable of linking back to the electron app.

I was curious if anyone has ever encounter this issue, and it be awesome to know or get a hint on how they solved this issue as i am slowly running out of ideas.

Any help would be appreciated and welcomed. Thanks