AbanteCart Community

Shopping Cart Operations => Support => Topic started by: kazama9xx on October 29, 2024, 04:31:24 PM

Title: Error: Expected an order id to be passed when using PayPal Commerce
Post by: kazama9xx on October 29, 2024, 04:31:24 PM
Hello everyone,

When using the PayPal checkout/debit card option I get this error message:

Error: Expected an order id to be passed

Kindly help
Title: Re: Error: Expected an order id to be passed when using PayPal Commerce
Post by: Basara on October 30, 2024, 10:17:19 AM
Hello.
Do your products require shipping? If not, please try this fix
https://github.com/abantecart/abantecart-src/issues/1708#issuecomment-2441203366
Title: Re: Error: Expected an order id to be passed when using PayPal Commerce
Post by: barkerxavierr on November 25, 2024, 10:15:12 PM
This error happens to me often.
Title: Re: Error: Expected an order id to be passed when using PayPal Commerce
Post by: Basara on November 26, 2024, 06:35:12 AM
Quote from: barkerxavierr on November 25, 2024, 10:15:12 PM
This error happens to me often.
Hello.
Have you tried the fix posted above?
Title: Re: Error: Expected an order id to be passed when using PayPal Commerce
Post by: cartagan on November 06, 2025, 02:14:27 PM
Sorry to necro an old thread but I am getting this error now in 2025. Using Abantecart 1.4.2 and PayPal Commerce 1.0.7 which is built-in. I looked at the fix from this thread and the code matches. Any other things to try?
Title: Re: Error: Expected an order id to be passed when using PayPal Commerce
Post by: Basara on November 07, 2025, 02:24:23 AM
Quote from: cartagan on November 06, 2025, 02:14:27 PMSorry to necro an old thread but I am getting this error now in 2025. Using Abantecart 1.4.2 and PayPal Commerce 1.0.7 which is built-in. I looked at the fix from this thread and the code matches. Any other things to try?
Upgrade to the latest AbanteCart 1.4.3
Title: Re: Error: Expected an order id to be passed when using PayPal Commerce
Post by: cartagan on November 07, 2025, 07:55:08 AM
Thanks for responding. I was hoping to hold off a bit to make sure 1.4.3 didn't break anything but I guess I don't have a choice now. I'll report back.