A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
Go to file
Darren Ethier 2bbe2e63c6 Fix retrying after failed payment processed server side. (https://github.com/woocommerce/woocommerce-blocks/pull/2655)
* add state for selected saved token in payment data

* add handling for flipping payment status back to pristine when checkout has error

If payment status is successful client side, but the checkout state goes into an error after server side processing, then we reset payment status to pristine to allow for reprocessing of payment method client side.

This is skipped for saved payment method tokens because they effectively are _only_ processed server side.
2020-06-07 16:47:16 -04:00
plugins/woocommerce-blocks Fix retrying after failed payment processed server side. (https://github.com/woocommerce/woocommerce-blocks/pull/2655) 2020-06-07 16:47:16 -04:00