PayPal Smart Button: "Error: Expected an order id to be passed"
Gustavo Ayala last edited by
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
devansh-webkul last edited by
Just do one thing, open the network console. And can you share with me the response which is coming from the PayPal.
wallace last edited by
I get the same error... was that resolved?
Vaishali Agarwal last edited by Vaishali Agarwal
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