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

SaleTunnel v2 - pending -> pending_payment transition #879

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

SaleTunnel v2 - pending -> pending_payment transition #879

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

Comments

@jbpenrath
Copy link
Member

Bug Report

Problematic behavior
Currently, an order in pending state can transition to pending_payment once we try to update its state.

Expected behavior/code
An order should be able to transition from pending to pending_payment only if the first installment has been paid and all other installments are not refused.

Steps to Reproduce

  1. Create an order with a state to pending
  2. Call order.flow.update()
  3. The order state has been updated to pending_payment

Environment

  • Joanie version: dev
@jbpenrath jbpenrath added the bug Something isn't working label Jul 11, 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