This potentially isn't a bug, but I'm reaching out to you for some help.
I'm trying to use the PayPal Commerce plugin. Installation and configuration went well. The PayPal Buttons are visible on the page. However, when a user clicks on the PayPal button, the sandbox api responds with an error: "Expected an order id to be passed".
I figured out, that the "create-pay-pal-order-from-cart" route does not return an orderID in my case. When the paypal buttons on the cart and payment pages are clicked, the order stays in the "cart" status without attaching the paypal payment entity. Consequently, $payment->getDetails()['paypal_order_id'] (line 78 in CreatePayPalOrderFromCartAction.php) does not provide an OrderID.
Does anyone know, what I might have missed during configuration, which mich explain this issue?
Dear Sylius team,
This potentially isn't a bug, but I'm reaching out to you for some help. I'm trying to use the PayPal Commerce plugin. Installation and configuration went well. The PayPal Buttons are visible on the page. However, when a user clicks on the PayPal button, the sandbox api responds with an error: "Expected an order id to be passed". I figured out, that the "create-pay-pal-order-from-cart" route does not return an orderID in my case. When the paypal buttons on the cart and payment pages are clicked, the order stays in the "cart" status without attaching the paypal payment entity. Consequently,
$payment->getDetails()['paypal_order_id']
(line 78 in CreatePayPalOrderFromCartAction.php) does not provide an OrderID.Does anyone know, what I might have missed during configuration, which mich explain this issue?
Thanks!