Flems Posted August 24, 2023 Share Posted August 24, 2023 Hello, We are almost finished with our webstore but we have found ourselves with a big problem. We are trying to use Prestashop Checkout as our payment module, Paypal business account and store are already linked and payment options are displayed as they should during checkout. The problem is: when checking any payment method, and clicking on the pay-button (in this case: Creditcard, see images), we see the paypal window pop up for a split second before dissappearing and showing a red banner error message saying "Expected an order id to be passed". Things we have tried to resolve this issue are: Reinstalling the module & entering all the shop and Paypal business details again Checking the SEO/friendly URL's for any spaces for all languages we are using Trying out the standard Paypal payment module, which also threw errors (please see log image!) All of the above with and without Maintenance Mode ... We are trying our best but we're not experts; this is our first time with e-commerce/Prestashop and are having a difficult time Googling this exact issue with this module. Is there someone that can guide us to the correct path or have experienced this same issue with a working solution? Thank you, kind regards 👍 PS: this is my first post, if I have made any mistakes according to the TOS or the general etiquette, please notify me here so I can correct them Link to comment Share on other sites More sharing options...
Flems Posted August 28, 2023 Author Share Posted August 28, 2023 The solution has been found; it turns out the ISO-code of the customer's country(s) were misconfigured (in our case: Belgium). https://developer.paypal.com/api/rest/reference/country-codes/ Belgium's ISO code was 'BEL' in stead of 'BE', after this change the Prestashop Checkout module worked as it should. I hope this solution finds someone with the same problem 😀 1 Link to comment Share on other sites More sharing options...
nick23gr Posted October 11, 2023 Share Posted October 11, 2023 On 8/28/2023 at 3:05 PM, Flems said: The solution has been found; it turns out the ISO-code of the customer's country(s) were misconfigured (in our case: Belgium). https://developer.paypal.com/api/rest/reference/country-codes/ Belgium's ISO code was 'BEL' in stead of 'BE', after this change the Prestashop Checkout module worked as it should. I hope this solution finds someone with the same problem 😀 I have the same problem im from greece i dont understand how to fix it Link to comment Share on other sites More sharing options...
vagmor Posted October 29, 2023 Share Posted October 29, 2023 On 8/24/2023 at 5:15 PM, Flems said: Hello, We are almost finished with our webstore but we have found ourselves with a big problem. We are trying to use Prestashop Checkout as our payment module, Paypal business account and store are already linked and payment options are displayed as they should during checkout. The problem is: when checking any payment method, and clicking on the pay-button (in this case: Creditcard, see images), we see the paypal window pop up for a split second before dissappearing and showing a red banner error message saying "Expected an order id to be passed". Things we have tried to resolve this issue are: Reinstalling the module & entering all the shop and Paypal business details again Checking the SEO/friendly URL's for any spaces for all languages we are using Trying out the standard Paypal payment module, which also threw errors (please see log image!) All of the above with and without Maintenance Mode ... We are trying our best but we're not experts; this is our first time with e-commerce/Prestashop and are having a difficult time Googling this exact issue with this module. Is there someone that can guide us to the correct path or have experienced this same issue with a working solution? Thank you, kind regards 👍 PS: this is my first post, if I have made any mistakes according to the TOS or the general etiquette, please notify me here so I can correct them I have the same problem for clients in Greece and store in Greek the country code is gr as it supposed to be but still i get this error... can someone help i think i have tried everything Link to comment Share on other sites More sharing options...
vagmor Posted October 29, 2023 Share Posted October 29, 2023 On 10/11/2023 at 9:44 PM, nick23gr said: I have the same problem im from greece i dont understand how to fix it did you find any solution? Link to comment Share on other sites More sharing options...
Janett Posted October 30, 2023 Share Posted October 30, 2023 I had the issue with some languages, due to the URL of order-confirmation page that contains special characters, I fixed it by upgrading the module to latest version and change the url rewriting of order-confirmation page on BO > Shop parameters > Traffic & SEO > Edit order-confirmation > Check Rewritten URL field in all languages. Link to comment Share on other sites More sharing options...
Inpromark Posted March 1, 2024 Share Posted March 1, 2024 (edited) Had the same problem at Prestashop version 8.3.1 and find out that the PrestaShop Checkout module (ps_checkout) was set in Testing environment. Disable that option of PayPal sandbox testing environment and PROBLEM FIXED! Module manager/PrestaShop Checkout built with PayPal/Configure/Manage Accout/scroll down to Testing environment and select slider to off Edited March 1, 2024 by Inpromark (see edit history) Link to comment Share on other sites More sharing options...
presta_jsM Posted April 24, 2024 Share Posted April 24, 2024 Hello! I have the same error, In my case is because my shop is customized to accept quantity with decimals. When a customer have a quantity with "xx,5" and try to pay with paypal of prestashop checkout they have this error. Whit other payment modules they don't have this problem... Any solution?? Link to comment Share on other sites More sharing options...
iamtheboss Posted October 13, 2024 Share Posted October 13, 2024 (edited) We have same problem, this module is bugged and give the same error, how is possible to fix it ? Prestashop 1.6.1.3 Expected an order id to be passed Thanks Edited October 13, 2024 by iamtheboss (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted October 13, 2024 Share Posted October 13, 2024 (edited) 3 hours ago, iamtheboss said: We have same problem, this module is bugged and give the same error, how is possible to fix it ? Prestashop 1.6.1.3 you might have the same issue but do you have the same module number, the same shop version, plus php version etc.??N Edited October 13, 2024 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
TGD Posted October 15, 2024 Share Posted October 15, 2024 I had the same problem with the release 8.4.2.0 and no was the way to fix the bug. Luckily the programmers released version 8.4.2.1 in a couple of days and the problem has been solved Link to comment Share on other sites More sharing options...
iamtheboss Posted October 16, 2024 Share Posted October 16, 2024 (edited) We have prestashop 1.6.1.3 and module verison it let us download is PrestaShop Checkout v6.3.6.3 and it is bugged also today Full day not working Edited October 16, 2024 by iamtheboss (see edit history) Link to comment Share on other sites More sharing options...
TerryMarsault Posted November 19, 2024 Share Posted November 19, 2024 Had the same issue on PS 8.2.0 and the module called 'PrestaShop Checkout built with PayPal' which was on v8.4.2.0 that I've updated to v8.4.2.2 (with 1-click Upgrade Module) and done! Works like a charm now. Link to comment Share on other sites More sharing options...
AlexLY Posted March 11 Share Posted March 11 Hey, everybody. I have the same problem, but the methods above didn't work for me. Maybe someone has some ideas? We had to update our website to the latest version of Prestashop 8.2.1. This involved a migration to PHP version 8.1. The MySQL version remained the same 5.7 The settings of the module “Prestashop Checkout built with PayPal” were not changed. This time we are using the standard Prestashop theme with minimal external modules. Unfortunately, we encountered an error when selecting the PayPal payment method. After clicking on the “Pay with PayPal” button, we get the error message “Expected an order id to be passed”. I would like to note that when using the regular module “Official PayPal v6.4.3” from “202 ecommerce”, this error is not displayed and the transaction goes smoothly. PayPal support referred me here, so I'm trying to figure it out. Link to comment Share on other sites More sharing options...
Jonas Ocampo Posted March 14 Share Posted March 14 Hi My solution in 2025 for PrestaShop 8.2.1 was to completely remove the module, delete the related tables from the database, and install the latest version of the module. This successfully resolved the issue. Best regards! Link to comment Share on other sites More sharing options...
lorenxo Posted March 27 Share Posted March 27 Can you kindly tell me which tables to delete from the database? Thx Link to comment Share on other sites More sharing options...
Jonas Ocampo Posted March 27 Share Posted March 27 Hi Lorenzo, Make a backup before proceeding. Then, uninstall and delete the module from the Back Office. Next, go to phpMyAdmin and delete all database tables related to the module (I've attached a screenshot). Then, reinstall the latest version of the module and remember to clear the cache. This method worked great for me; I hope it helps you too. Best regards. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now