commercelayer-react-checkout
commercelayer-react-checkout copied to clipboard
Display coupon expired message when selecting a payment method
Description
The checkout should display the coupon expired error if the coupon added to the order has expired.
Steps to Reproduce
- Create an order
- Add a coupon
- Set an expiry date in the past
- Try to complete the checkout flow
Expected Result
The expected result was to see a coupon expired error that helps the customer to remove it from the order
Actual Results
The actual result was the checkout stuck during payment method selection
cc: @acasazza @gciotola