mollie / spree-mollie-gateway

Mollie payments for Spree Commerce.
https://www.mollie.com
16 stars 23 forks source link

reset order to payment state on failed payment #24

Closed Oldharlem closed 5 years ago

Oldharlem commented 5 years ago

Aftr the payment failed or an unidentified state comes in the order should revert to the payment state so the user can pick another payment option.

Also when a user goes back in their browser physically the order has been completed. In order to allow a SPA or other API facing system to still show payment options without the API provider being notified of this 'back' action the payment options are exposed on complete orders as well.