cancel
Showing results for 
Search instead for 
Did you mean: 

Not Getting response from authorize after payment popup comesup

I am using Iframes for my application.
When the payment poup comes up, I donot recieve any response from authorize none of the following:

successfulSave, cancel, transactResponse, resizeWindow

this function never gets invoked: 

AuthorizeNetPopup.onReceiveCommunication = function (querystr) {
                var params = parseQueryString(querystr);
                alert(params);
	            switch (params["action"]) {
		            case "successfulSave":
			            AuthorizeNetPopup.closePopup();
			            break;
		            case "cancel":
			            AuthorizeNetPopup.closePopup();
			            break;
                    case "transactResponse":
                        debugger;
			            var response = params["response"];
                        //document.getElementById("token").value = response;
                        alert(response);
                        persistAgentTransaction(response);
			            AuthorizeNetPopup.closePopup();
			            break;
		            case "resizeWindow":
			            var w = parseInt(params["width"]);
			            var h = parseInt(params["height"]);
			            var ifrm = document.getElementById("iframeAuthorizeNet");
			            ifrm.style.width = w.toString() + "px";
			            ifrm.style.height = h.toString() + "px";
			            centerPopup();
			            break;
	}
            };

check the screenshot of my payment screen here: https://ibb.co/mcx2Qdj

it keeps on saying processing, Nothing happens after that

 

M3QDev2020
Contributor
1 REPLY 1

Good information that have you share with us

woodencut12
Member