Skip to content

Commit 149242f

Browse files
committed
MAGETWO-91530: Expose Authorize.net Response Codes in Checkout
- Propagate payment error message
1 parent 8460e4e commit 149242f

File tree

1 file changed

+1
-3
lines changed
  • app/code/Magento/Payment/view/frontend/templates/transparent

1 file changed

+1
-3
lines changed

app/code/Magento/Payment/view/frontend/templates/transparent/iframe.phtml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ $params = $block->getParams();
4040
$(parent).trigger('clearTimeout');
4141
fullScreenLoader.stopLoader();
4242
globalMessageList.addErrorMessage({
43-
message: $t(
44-
'A server error stopped your order from being placed. Please try to place your order again.'
45-
)
43+
message: $t(<?=json_encode($params['error_msg'])?>)
4644
});
4745
}
4846
);

0 commit comments

Comments
 (0)