openfun / joanie

👛 A headless ERP for education to manage course enrollment/subscription, payment and certificates delivery.
MIT License
20 stars 2 forks source link

✨(backend) submit installment payment when order is `no_payment` state #808

Closed jonathanreveille closed 1 month ago

jonathanreveille commented 1 month ago

Purpose

Allow user to submit installment payment when the order's first installment has not been paid yet. Before the update, only orders with the state failed_payment were expected for the endpoint submit_installment_payment in the OrderViewSet, now we also allow the state no_payment of an order (where the first installment has failed to be paid in the payment schedule).

Proposal