PayPal integrate

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!
webmaster
Posts: 16
Joined: 10 Feb 2024, 11:08

PayPal integrate

Post by webmaster » 17 Feb 2024, 08:36

Hello everbody , i am trying to integrate the paypal payment
i have added all the field in dashboard , with the sandbox details but i try to do the checkout
i got redirect to the paypal account dashboard and no payment is made here is the photos .
PHP version : 8.0.30
Aimeos version : 2023.10
Attachments
Screenshot_12.png
Screenshot_12.png (42.13 KiB) Viewed 27424 times
Screenshot_11.png
Screenshot_11.png (52.01 KiB) Viewed 27424 times

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

Re: PayPal integrate

Post by aimeos » 19 Feb 2024, 07:53

From your screenshots it's not possible to see what the problem could be. Can you please add a screenshot from the configuration of the service item for the PayPal payment option?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

webmaster
Posts: 16
Joined: 10 Feb 2024, 11:08

Re: PayPal integrate

Post by webmaster » 19 Feb 2024, 08:01

here is the configuration
Attachments
Screenshot_14.png
Screenshot_14.png (35.57 KiB) Viewed 27409 times

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

Re: PayPal integrate

Post by aimeos » 19 Feb 2024, 08:07

Looks OK. Did you use the PayPal NVP credentials (not the one for the REST API)?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

webmaster
Posts: 16
Joined: 10 Feb 2024, 11:08

Re: PayPal integrate

Post by webmaster » 19 Feb 2024, 08:27

yes i used :NVP/SOAP Sandbox API credentials , the idea is the after i add paywith paypal the windows goes direct to paypal dashboard and nothing happen

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

Re: PayPal integrate

Post by aimeos » 19 Feb 2024, 08:29

The paypalexpress.PaypalUrl setting is wrong and must be:

Code: Select all

https://www.sandbox.paypal.com/webscr&cmd=_express-checkout&useraction=commit&token=%1$s
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

webmaster
Posts: 16
Joined: 10 Feb 2024, 11:08

Re: PayPal integrate

Post by webmaster » 19 Feb 2024, 08:57

thanks bro that helped me a lot.

Post Reply