Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Contributor
Posts: 11
Registered: ‎07-02-2020

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

 

Member
Posts: 1
Registered: ‎08-22-2020

Re: Not Getting response from authorize after payment popup comesup

It is a really technical form of testing but since I have quit that job and these days busy in coursework writng service online in AU so I have not much-updated information about this.