Closed hasithaarimac closed 4 years ago
It is probably missing a payment-selection. Because the order is still in state "shipping_skipped"
@hasithaarimac there is known problem with https://github.com/Sylius/ShopApiPlugin/blob/3ace12724f53c330d6b894fe2bbe639ecc140d76/src/Validator/Cart/CartReadyForCheckoutValidator.php#L47 validator.
Fix this line by changing getState()
to getCheckoutState()
.
@mamazu this is reminder, that you have introduced this bug and it's not fixed yet. https://github.com/Sylius/ShopApiPlugin/issues/665 Consider doing revert, if you don't have time to fix it.
Thanks for the reminder.
The checkout process works now!
Hi All,
I'm having trouble with Completing checkout through shop API. I'm getting a validation error message even though I set a valid shipping and billing address to my order. (Error message: "Please provide the cart with a shipping and billing address") Please look at the following request and response.
CURL of the request
Response body
summarized cart details (Here we can see the shipping and billing address of the current cart. Its already set using "/checkout/:token/address" endpoint)