mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 16:24:33 +08:00
Merge pull request #122 from woocommerce/PCP-66-unblock-ui-on-submit-checkout-error
Unblock UI if Credit Card payment failed
This commit is contained in:
commit
d9b3fed103
1 changed files with 1 additions and 1 deletions
|
@ -116,8 +116,8 @@ class CreditCardRenderer {
|
|||
this.spinner.unblock();
|
||||
return contextConfig.onApprove(payload);
|
||||
}).catch(() => {
|
||||
this.errorHandler.genericError();
|
||||
this.spinner.unblock();
|
||||
this.errorHandler.genericError()
|
||||
});
|
||||
} else {
|
||||
this.spinner.unblock();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue