When integrating a PaypalHere card reader with an android app, Paypal Retail Node not working.

archie1983
Contributor
Contributor

Hi,

I'm trying to integrate a PaypalHere card reader with an Android app that I wrote. I'm now going through the Sandbox testing guide (currently here: https://developer.paypal.com/docs/integration/paypal-here/sandbox-testing/using-sandbox-accounts/#pa...) and I have a query about the sample server that is mentioned there.

 

So I have created a heroku account and deployed your Paypal-retail-node project (https://github.com/paypal/paypal-retail-node) and unfortunately I get stuck here. It doesn't seem to work. Here is my deployment on Heroku: https://ae-co-test.herokuapp.com/

As you can see there's only one link and it says "Setup a Sandbox Account". Clicking on it returns an error message and that's all. I don't think I've done anything special- just deployed the code and set up the required variables mentioned in Readme.md.

 

To be specific I've set the

APP_REDIRECT_URL to "ae_co://paypaltoken"
APP_SECURE_IDENTIFIER to some random key
PAYPAL_SANDBOX_CLIENTID to a value that I got from my PayPal developer account
PAYPAL_SANDBOX_SECRET to a value that I got from my PayPal developer account
SETUP_ENABLED to "true"

 

I don't know what I'm missing. Can you please help? The error returned is: "Sorry about that Looks like this action is not supported. Please return and report this error so that we can support it in the future. (invalid client_id or redirect_uri)"

rlogid : rZJvnqaaQhLn%2FnmWT8cSUjKSv%2Bh%2Bkah1iE%2B4OT7qNY6I%2FViTSBVECW6AMQ4KaEpcuxearHf5gPG66H9V6th%2B5Q_172a586bdd7

 

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.