Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order stucked in submitted state #872

Open
jbpenrath opened this issue Jul 3, 2024 · 0 comments
Open

Order stucked in submitted state #872

jbpenrath opened this issue Jul 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jbpenrath
Copy link
Member

jbpenrath commented Jul 3, 2024

Bug Report

Problematic behavior

With the Lyra payment backend, some orders can be stucked in submitted state and we have to manually transition it to pending state.

Indeed, in several cases, Lyra is not able to notify Joanie when a payment fails. For example, if the user just initiate a payment then close its browser, no payment is created on Lyra and the frontend is not able to contact Joanie to abort the current payment.

Expected behavior/code

When a consumer fails to purchase or aborts a purchasement of a product, the order should be transitioned to pending state in all cases.

Possible Solution

  1. Check if we manage well payment failure notifications to transition orders from submitted to pending state
  2. Create a management command executed regularly to transition stucked orders.
@jbpenrath jbpenrath added the bug Something isn't working label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant