You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Joanie allows to create free product. In this case, when order is submitted, api returns a payment_info sets to null.
Currently, Richie frontend codebase does not manage this case, so the SaleTunnel crashed.
Expected behavior
When a product is free, the SaleTunnel should submit the order then instead of instantiate the PaymentInterface, it should poll the related order to ensure its state has been transitioned from draft or pending to validated.
So the payment step should be skip.
The text was updated successfully, but these errors were encountered:
Problematic behavior
Joanie allows to create free product. In this case, when order is submitted, api returns a
payment_info
sets tonull
.Currently, Richie frontend codebase does not manage this case, so the SaleTunnel crashed.
Expected behavior
When a product is free, the SaleTunnel should submit the order then instead of instantiate the PaymentInterface, it should poll the related order to ensure its state has been transitioned from
draft
orpending
tovalidated
.So the payment step should be skip.
The text was updated successfully, but these errors were encountered: