Parameter "token" or "PayerID" missing in Paypal

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
technoxprt
Posts: 5
Joined: 07 Mar 2018, 11:33

Parameter "token" or "PayerID" missing in Paypal

Post by technoxprt » 20 Mar 2018, 16:42

Hi,

I am getting an error after paypal sandbox payment.
Parameter "token" or "PayerID" missing
I have added all the parameters in paypal configuration in services list in admin panel.

Please help me to fix this

User avatar
aimeos
Administrator
Posts: 7881
Joined: 01 Jan 1970, 00:00

Re: Parameter "token" or "PayerID" missing in Paypal

Post by aimeos » 21 Mar 2018, 10:36

PayerID and token are no values you can configure. Please check if your configuration looks like the one in the screenshot:
paypal-config.png
paypal-config.png (178.33 KiB) Viewed 3083 times
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

technoxprt
Posts: 5
Joined: 07 Mar 2018, 11:33

Re: Parameter "token" or "PayerID" missing in Paypal

Post by technoxprt » 21 Mar 2018, 16:12

Hi,

Thanks for reply.

I am using all the variables same as you sent in screenshot.
Attachments
Screenshot_236.png
Screenshot_236.png (51.08 KiB) Viewed 3081 times

User avatar
aimeos
Administrator
Posts: 7881
Joined: 01 Jan 1970, 00:00

Re: Parameter "token" or "PayerID" missing in Paypal

Post by aimeos » 22 Mar 2018, 08:17

The error occurs if PayPal is redirecting back to your shop "Thank you" page without the necessary parameters:
https://github.com/aimeos/aimeos-core/b ... s.php#L411

The interesting question is now why this is the case with your PayPal account? Can you have a look into the PayPal account settings if there's some option that may cause this?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

technoxprt
Posts: 5
Joined: 07 Mar 2018, 11:33

Re: Parameter "token" or "PayerID" missing in Paypal

Post by technoxprt » 22 Mar 2018, 16:10

what setting i need to check in paypal. Please screenshot for that.

Also i tried 2 different paypal sandbox account. Both are having same issue.

User avatar
aimeos
Administrator
Posts: 7881
Joined: 01 Jan 1970, 00:00

Re: Parameter "token" or "PayerID" missing in Paypal

Post by aimeos » 23 Mar 2018, 19:00

No clue. We haven't had this problem before ...
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply