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
[x] update the endpoint with the new accepted state to update a resolve a failed payment installment of an order for a user
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 endpointsubmit_installment_payment
in the OrderViewSet, now we also allow the stateno_payment
of an order (where the first installment has failed to be paid in the payment schedule).Proposal