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