- 🇮🇩Indonesia boby_ui
+1 yes for sandboxes, we cant use multiple or diff currency, tested and it works!
I am using the PayPal smart buttons on the cart. If the currency is anything other than our native currency (GBP) I receive an error as follows:
InvalidArgumentException: Invalid step ID "Array" passed to redirectToStep(). in Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow\CheckoutFlowBase->redirectToStep() (line 169 of /home/mysite/drupal/web/modules/contrib/commerce/modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowBase.php).
I have tried changing the default store currency. This makes no difference.
I have tried with both Sandbox and Live paypal accounts. This makes no difference.
I have tested this on two different sites and they both experience the same issue.
In all cases the PayPal window behaves as expected and it is only when PayPal sends you back to the site after confirming the payment that this error occurs. Logging into PayPal account I can see the transactions listed as 'pending' whereas the GBP transactions complete properly.
I would be very grateful if someone can help me further investigate and resolve this problem.
Closed: outdated
1.0
PayPal Checkout
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
+1 yes for sandboxes, we cant use multiple or diff currency, tested and it works!