PayPal Smart Button: "Error: Expected an order id to be passed"
-
Hi i configured the PayPal SmartButton with sandbox app account (ClientID, and SecretID) and multiple check that these were right, but whe try to test the payment of an order i get the following error:
Error: Expected an order id to be passed
I'm developing in my local pc, in apache and php 7.4
-
Hi @Gustavo-Ayala,
Just do one thing, open the network console. And can you share with me the response which is coming from the PayPal.
-
I get the same error... was that resolved?
-
@wallace
the error is coming from the paypal itself, it means you are trying to place an order in incorrect currency for which paypal business account is not setup.To resolve this you have to place an order with the same currency for which paypal account is registered.
you may also go through with this https://github.com/bagisto/bagisto/issues/4655