Nathan_M
(Nathan M)
November 28, 2016, 10:57pm
1
When I test it though, it isn’t making a request to Authorize.Net ’s servers, either. The CC data simply isn’t being sent anywhere, as far as I can tell.
The «Authorize.Net » payment module sends the bank card data to the Authorize.Net server here:
<iframe width="0" height="0" data-bind="src: getSource(), attr: {id: getCode() + '-transparent-iframe', 'data-container': getCode() + '-transparent-iframe'}" allowtransparency="true" frameborder="0" name="iframeTransparent" style="display:none;width:100%;background-color:transparent"></iframe>
<form class="form" id="co-transparent-form" autocomplete="off" action="#" method="post" data-bind="mageInit: {
'transparent':{
'controller': getControllerName(),
'gateway': getCode(),
'orderSaveUrl':getPlaceOrderUrl(),
'cgiUrl': getCgiUrl(),
'dateDelim': getDateDelim(),
'cardFieldsMap': getCardFieldsMap(),
'nativeAction': getSaveOrderUrl(),
'expireYearLength': getExpireYearLength()
}, 'validation':[]}">
Here is a detailed explanation of the Authorize.Net ’s Direct Post method:
https://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/Direct-Post-Method-DPM/ba-p/7014