Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

Passing restricted username & password to Paypal Here app #48

Open
ghost opened this issue Sep 1, 2016 · 4 comments
Open

Passing restricted username & password to Paypal Here app #48

ghost opened this issue Sep 1, 2016 · 4 comments

Comments

@ghost
Copy link

ghost commented Sep 1, 2016

I have this working great with a HTML Android app but the Return URL which loops me back to my app causes Paypal Here to log out/end session even if new sale is clicked.

I have created a new Paypal user with restricted Paypal Here options. So I wish to pass my username and password in the data sent to paypal here to stop me having to log in on each transaction.

pphereUrl = pphereUrl + '&username=mynameb&password=mypassword';
(not sure whether I may need to encode this?) Also tried
pphereUrl = pphereUrl + '&user=mynameb&password=mypassword';

I am using the web code, which works great. Apart from the Return URL part which is causing the log out issue
https://github.com/paypal/here-sideloader-api-samples/blob/master/web/index.html

@ghost
Copy link
Author

ghost commented Sep 8, 2016

Any ideas on this?

@glaidler
Copy link

According to PP, the auto-login feature was deprecated in a version released in March 2017. No advance notification, and if the code was still there, it helpfully crashed the app.

@lernerb
Copy link
Collaborator

lernerb commented Jun 23, 2017

@sozel ^

@glaidler
Copy link

If it helps your internal processes, as this caused us no-end of grief from several customers, email respose from merchant technical support


Response Via Email(Andrea) - 03/31/2017 10:06 AM
Hi Graham,

After the check with our engineers results that the automatic password log-in functionality was deprecated because of security reasons.

With the new PayPal Here updates this functionality is intended to require each time the log-in so the function used to pass the log-in details automatically is not working anymore.

You will need to login to the PayPal Here App at the beginning of the day and then you shouldn't have to login again if the activity is frequent enough (there is a time window of approximately 15 minutes when the log-in provided is still active and will not require to re-login).

That's the reason why the flow is behaving like this.

Kind Regards,
Andrea | PayPal Merchant Technical Support

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants