Replies: 1 comment
-
An obvious solution would be to go directly to the Supabase / Postgresql table connected to the Medusa backend and delete the payment session and the cart, if needed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While a successful payment has been shown to be captured on my Stripe dashboard, Medusa's cart is returning a 200 response of type='cart'
(/store/carts/{id}/complete
), which upon reading the documentation, suggests that cart completion failedI suspect that the cart completion is triggered before the successful payment capture, considering the webhook delay. However, I am unable to retry the checkout with my updated code logic, because the payment session still exists, and I am getting this error:
Deleting a payment session through an API call (
DEL http://localhost:9000/store/carts/{id}/payment-sessions/stripe
) does nothing which means this cart checkout is in limbo. I have restarted the Medusa server but am still encountering the error.Beta Was this translation helpful? Give feedback.
All reactions