route aimeos_shop_checkout throwing ArgumentCountError
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!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 3
- Joined: 31 May 2023, 04:59
route aimeos_shop_checkout throwing ArgumentCountError
Hi Dear,
I just enabled the paypal express and all seems working fine, after the 5th ( summary ) step of checkout, once clicked at "Buy now" button it is throwing ArgumentCountError (252 arguments are required, 2 given) from Middleware/SetLocale.php
please check attach error log images.
any kind of help will be highly appreciated. thanks.
I just enabled the paypal express and all seems working fine, after the 5th ( summary ) step of checkout, once clicked at "Buy now" button it is throwing ArgumentCountError (252 arguments are required, 2 given) from Middleware/SetLocale.php
please check attach error log images.
any kind of help will be highly appreciated. thanks.
- Attachments
-
- versions
- Screenshot 2023-05-31 at 10.27.00 AM.png (69.34 KiB) Viewed 2679 times
-
- error-log
- Screenshot 2023-05-31 at 10.26.48 AM.png (120.17 KiB) Viewed 2679 times
Re: route aimeos_shop_checkout throwing ArgumentCountError
setLocale() is not the problem, click on "Expand all vendor frames" to see the last 2-3 entries
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 3
- Joined: 31 May 2023, 04:59
Re: route aimeos_shop_checkout throwing ArgumentCountError
here is "Expanded all vendor frames" with some last logs
- Attachments
-
- expanded logs
- Screenshot 2023-05-31 at 7.29.17 PM 2.png (86.48 KiB) Viewed 2663 times
Re: route aimeos_shop_checkout throwing ArgumentCountError
Check the "paypalexpress.PaypalUrl" value in Setup > Services > PayPal in the admin backend. It seems like it's value is wrong and you can remove the complete line so the default value will be used again.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 3
- Joined: 31 May 2023, 04:59
Re: route aimeos_shop_checkout throwing ArgumentCountError
Dear,
Thanks for support and replying.
The value for the "paypalexpress.PaypalUrl" that I was using was "https://www.sandbox.paypal.com/webscr&c ... ken=%251$s"
as I was integrating according to the sandbox level configuration.
deleted this line and got the default value as "https://www.paypal.com/webscr&cmd=_expr ... token=%1$s"
and it is working now.
all other values like
- paypalexpress.ApiEndpoint
- paypalexpress.ApiSignature
- paypalexpress.ApiUsername
are according to sandbox environment.
Thanks for support and replying.
The value for the "paypalexpress.PaypalUrl" that I was using was "https://www.sandbox.paypal.com/webscr&c ... ken=%251$s"
as I was integrating according to the sandbox level configuration.
deleted this line and got the default value as "https://www.paypal.com/webscr&cmd=_expr ... token=%1$s"
and it is working now.
all other values like
- paypalexpress.ApiEndpoint
- paypalexpress.ApiSignature
- paypalexpress.ApiUsername
are according to sandbox environment.