mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Revert "fix getting error message on order creating fail"
This reverts commit 89a61b33bb
.
This commit is contained in:
parent
8770cec4d6
commit
1e7c2df193
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class CheckoutActionHandler {
|
||||||
}).then(function (data) {
|
}).then(function (data) {
|
||||||
if (!data.success) {
|
if (!data.success) {
|
||||||
spinner.unblock();
|
spinner.unblock();
|
||||||
errorHandler.message(data.messages);
|
errorHandler.message(data.data.message, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const input = document.createElement('input');
|
const input = document.createElement('input');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue