We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 635142a + ee8fb4d commit 5a56a4aCopy full SHA for 5a56a4a
Moyasar/Mysr/view/frontend/web/js/view/payment/method-renderer/moyasar_credit_card_method.js
@@ -138,7 +138,9 @@ define(
138
self.isPlaceOrderActionAllowed(true);
139
globalMessageList.addErrorMessage({ message: mage('Error! Payment failed, please try again later.') });
140
if (xhr.responseJSON.message) {
141
- globalMessageList.addErrorMessage({ message: xhr.responseJSON.message });
+ globalMessageList.addErrorMessage({
142
+ message: xhr.responseJSON.message + ' : ' + JSON.stringify(xhr.responseJSON.errors)
143
+ });
144
}
145
});
146
0 commit comments