<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Accept Hosted Authorize Net Integration issue. No redirection to my localhost after payment in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Authorize-Net-Integration-issue-No-redirection-to/m-p/69538#M42542</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also facing th same issue, that i am successfullly able to open the IFrame pop window to accept the credit card details and goes to show receipt page . but when i click continue button i am not able to get Transaction ID from response into to my page. could you please let me know what should i do to get the response from IFrame to html page?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i check in Google chrome network console i see the response,&lt;/P&gt;&lt;PRE&gt;{"resultCode":"Ok","messageCode":"Ok","transactionData":{"accountType":"MasterCard","accountNumber":"XXXX0015","transId":"60130039055","responseCode":"1","authorization":"VF2WPA","merchantName":"G and S Questions Inc.","billTo":{"phoneNumber":"","firstName":"Ellen","lastName":"Johnson","address":"14 Main Street","city":"Pecan Springs","state":"TX","zip":"44628","country":"US"},"totalAmount":"20.00","dateTime":"10/28/2019 5:56:35 PM"}}&lt;/PRE&gt;&lt;P&gt;But i am not able to see the response in the below function,&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;AuthorizeNetPopup.onReceiveCommunication = function (querystr) {
var params = parseQueryString(querystr);

switch (params["action"]) {
case "successfulSave":

AuthorizeNetPopup.closePopup();
break;
case "cancel":
AuthorizeNetPopup.closePopup();
break;
case "transactResponse":
var response = params["response"];
document.getElementById("token").value = response;
AuthorizeNetPopup.closePopup();
break;
case "resizeWindow":
alert(params);
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;
}
};&lt;/PRE&gt;</description>
    <pubDate>Mon, 28 Oct 2019 18:20:11 GMT</pubDate>
    <dc:creator>Kathiravan</dc:creator>
    <dc:date>2019-10-28T18:20:11Z</dc:date>
    <item>
      <title>Accept Hosted Authorize Net Integration issue. No redirection to my localhost after payment</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Authorize-Net-Integration-issue-No-redirection-to/m-p/58270#M32934</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am integrating Authorize net&amp;nbsp;&amp;nbsp;for my website. I am able to generate Token. After getting token i am posting request&amp;nbsp;&amp;nbsp;on my sandbox account. I am able to make test payment. But after making payment it does not return me back on my website. The Continue button does nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my settings and form request.&amp;nbsp;&amp;nbsp;Please let me know if there is anything i am missing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&amp;lt;form method="POST" action="https://test.authorize.net/payment/payment" id="DemoCheckoutForm" name="DemoCheckoutForm"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;input type="hidden" name="token" value="&amp;lt;%=token%&amp;gt;" &amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;input type="submit" name="submit_b" value="Buy now" &amp;gt;
&amp;lt;/form&amp;gt;
&amp;nbsp;
&amp;nbsp;
public static GetHostedPaymentPageResponse run(String apiLoginId, String transactionKey, Double amount) {
&amp;nbsp; &amp;nbsp; ApiOperationBase.setEnvironment(Environment.SANDBOX);
&amp;nbsp; &amp;nbsp; MerchantAuthenticationType merchantAuthenticationType &amp;nbsp;= new MerchantAuthenticationType() ;
&amp;nbsp; &amp;nbsp; merchantAuthenticationType.setName(apiLoginId);
&amp;nbsp; &amp;nbsp; merchantAuthenticationType.setTransactionKey(transactionKey);
&amp;nbsp; &amp;nbsp; ApiOperationBase.setMerchantAuthentication(merchantAuthenticationType);
&amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp; &amp;nbsp; // Create the payment transaction request
&amp;nbsp; &amp;nbsp; TransactionRequestType txnRequest = new TransactionRequestType();
&amp;nbsp; &amp;nbsp; txnRequest.setTransactionType(TransactionTypeEnum.AUTH_CAPTURE_TRANSACTION.value());
&amp;nbsp; &amp;nbsp; txnRequest.setAmount(new BigDecimal(amount).setScale(2, RoundingMode.CEILING));
&amp;nbsp;
&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp;SettingType setting2 = new SettingType();
&amp;nbsp; &amp;nbsp; setting2.setSettingName("hostedPaymentOrderOptions");
&amp;nbsp; &amp;nbsp; setting2.setSettingValue("{\"show\": true}");&amp;nbsp;
&amp;nbsp; &amp;nbsp; setting2.setSettingValue("{\"merchantName\": \"Questions Inc.\"}");&amp;nbsp;
&amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp; &amp;nbsp; SettingType setting1 = new SettingType();
&amp;nbsp; &amp;nbsp; setting1.setSettingName("hostedPaymentButtonOptions");
&amp;nbsp; &amp;nbsp; setting1.setSettingValue("{\"text\": \"Pay Now\"}");
&amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp; &amp;nbsp; SettingType setting3 = new SettingType();
&amp;nbsp; &amp;nbsp; setting3.setSettingName("hostedPaymentReturnOptions");
&amp;nbsp; &amp;nbsp; setting3.setSettingValue("{\"showReceipt\": true}");
&amp;nbsp; &amp;nbsp; setting3.setSettingValue("{\"url\": \"http://localhost:8070/wap-adaptor/response.jsp\"}");
&amp;nbsp; &amp;nbsp; setting3.setSettingValue("{\"urlText\": \"Return\"}");
&amp;nbsp; &amp;nbsp; setting3.setSettingValue("{\"cancelUrl\": \"http://localhost:8070/wap-adaptor/response.jsp\"}");
&amp;nbsp; &amp;nbsp; setting3.setSettingValue("{\"cancelUrlText\": \"Cancel\"}");
&amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp; &amp;nbsp; ArrayOfSetting alist = new ArrayOfSetting();
&amp;nbsp; &amp;nbsp; alist.getSetting().add(setting1);
&amp;nbsp; &amp;nbsp; alist.getSetting().add(setting2);
&amp;nbsp; &amp;nbsp; alist.getSetting().add(setting3);
&amp;nbsp;
&amp;nbsp; &amp;nbsp; GetHostedPaymentPageRequest apiRequest = new GetHostedPaymentPageRequest();
&amp;nbsp; &amp;nbsp; apiRequest.setTransactionRequest(txnRequest);
&amp;nbsp; &amp;nbsp; apiRequest.setHostedPaymentSettings(alist);
&amp;nbsp;
&amp;nbsp; &amp;nbsp; GetHostedPaymentPageController controller = new GetHostedPaymentPageController(apiRequest);
&amp;nbsp; &amp;nbsp; controller.execute();
&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; GetHostedPaymentPageResponse response = new GetHostedPaymentPageResponse();
response = controller.getApiResponse();
&amp;nbsp;
if (response!=null) {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (response.getMessages().getResultCode() == MessageTypeEnum.OK) {
System.out.println(response.getMessages().getMessage().get(0).getCode());
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(response.getMessages().getMessage().get(0).getText());
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(response.getToken());
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println("Failed to get hosted payment page: &amp;nbsp;" + response.getMessages().getResultCode()+" &amp;nbsp;"+response.getMessages().getMessage());
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println(response.getMessages().getMessage().get(0).getText());
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&amp;nbsp; &amp;nbsp; }
token = response.getToken();
return response;
}&lt;/PRE&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont" size="2"&gt;Any Help would be appeciated.&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 31 May 2017 05:14:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Authorize-Net-Integration-issue-No-redirection-to/m-p/58270#M32934</guid>
      <dc:creator>devenderkumar</dc:creator>
      <dc:date>2017-05-31T05:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Authorize Net Integration issue. No redirection to my localhost after payment</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Authorize-Net-Integration-issue-No-redirection-to/m-p/58288#M32951</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21800"&gt;@devenderkumar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I try a token request using the same settings, I get back a token that pulls up a form with a working "Continue" button, so I'm not sure what might be failing for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the receipt page as rendered in the browser first. If you inspect the "Continue" button, it should reference a cancelContinueBtnHandler on click, which in turn should direct the browser to the url you sent. If you view the source of the receipt page (or frame), there should be a var declared - "g_pageOptions" - with the options you sent. Make sure the url you sent shows correctly there. If so, there's something likely going on at the browser/javascript level. If not, it may be more a problem with your request.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 21:28:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Authorize-Net-Integration-issue-No-redirection-to/m-p/58288#M32951</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-05-31T21:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Authorize Net Integration issue. No redirection to my localhost after payment</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Authorize-Net-Integration-issue-No-redirection-to/m-p/58296#M32958</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20843"&gt;@Aaron&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for looking into my problem.&lt;/P&gt;&lt;P&gt;As per your suggestion i have inspected the recipt page. and looked into&amp;nbsp;&lt;SPAN&gt;g_pageOptions . But surprisingly it is not the same that i am sending into my request. This is what i see in inspection.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var g_merchantData = {&lt;BR /&gt; "totalAmount": "10.50"&lt;BR /&gt;};&lt;BR /&gt;var g_pageOptions = {&lt;BR /&gt; "hostedPaymentButtonOptions": {&lt;BR /&gt; "text": "Pay Now"&lt;BR /&gt; },&lt;BR /&gt; "hostedPaymentOrderOptions": {&lt;BR /&gt; "show": false&lt;BR /&gt; },&lt;BR /&gt; "hostedPaymentReturnOptions": {&lt;BR /&gt; "cancelUrlText": "Cancel"&lt;BR /&gt; }&lt;BR /&gt;};&lt;BR /&gt;var g_iframeCommunicatorUrl = (!!(typeof g_pageOptions !== 'undefined' &amp;amp;&amp;amp; g_pageOptions !== null &amp;amp;&amp;amp; g_pageOptions.hostedPaymentIFrameCommunicatorUrl &amp;amp;&amp;amp; g_pageOptions.hostedPaymentIFrameCommunicatorUrl.url)) ? g_pageOptions.hostedPaymentIFrameCommunicatorUrl.url : "";&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;And this is what i sent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; SettingType setting2 = new SettingType();
    setting2.setSettingName("hostedPaymentOrderOptions");
    setting2.setSettingValue("{\"show\": false}"); 
    //setting2.setSettingValue("{\"merchantName\": \"Questions Inc.\"}"); 
    
    SettingType setting1 = new SettingType();
    setting1.setSettingName("hostedPaymentButtonOptions");
    setting1.setSettingValue("{\"text\": \"Pay Now\"}");
    
    
    SettingType setting3 = new SettingType();
    setting3.setSettingName("hostedPaymentReturnOptions");
    setting2.setSettingValue("{\"showReceipt\": false}"); 
    setting3.setSettingValue("{\"url\": \"http://lccse-tomcat.com:8070/authorizenet/response.jsp\"}");
    setting3.setSettingValue("{\"urlText\": \"Continue to site\"}");
    setting3.setSettingValue("{\"cancelUrl\": \"http://lccse-tomcat.com:8070/authorizenet/response.jsp\"}");
    setting3.setSettingValue("{\"cancelUrlText\": \"Cancel\"}");&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you please tell me what could be possible reasons.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any posibility that i am not using HTTPS that why it is removing URLs from my request without giving any error. &amp;nbsp;Or is there it because i am not using public IP . I am using local system IP i.e localhost.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Devender Kumar&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 05:21:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Authorize-Net-Integration-issue-No-redirection-to/m-p/58296#M32958</guid>
      <dc:creator>devenderkumar</dc:creator>
      <dc:date>2017-06-01T05:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Authorize Net Integration issue. No redirection to my localhost after payment</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Authorize-Net-Integration-issue-No-redirection-to/m-p/58297#M32959</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20843"&gt;@Aaron&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried with HTTPS as well but nothing changing in issue. Please also let me know if there is any setting need to done in sendbox account for the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 06:22:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Authorize-Net-Integration-issue-No-redirection-to/m-p/58297#M32959</guid>
      <dc:creator>devenderkumar</dc:creator>
      <dc:date>2017-06-01T06:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Authorize Net Integration issue. No redirection to my localhost after payment</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Authorize-Net-Integration-issue-No-redirection-to/m-p/58309#M32971</link>
      <description>&lt;P&gt;It appears as if what you're sending is not what the system is getting. Do you have any logging of the actual API request to &lt;EM&gt;getHostedPaymentPage&lt;/EM&gt; to verify what's being sent to the system (meaning the actual XML or JSON formatted string that's posted to our server)?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 19:31:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Authorize-Net-Integration-issue-No-redirection-to/m-p/58309#M32971</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-06-01T19:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Authorize Net Integration issue. No redirection to my localhost after payment</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Authorize-Net-Integration-issue-No-redirection-to/m-p/58349#M33008</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20843"&gt;@Aaron&lt;/a&gt;&amp;nbsp;Thanks you so much . I was sending wrong data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;SettingType setting3 = new SettingType();
    setting3.setSettingName("hostedPaymentReturnOptions");
    setting3.setSettingValue("{\"showReceipt\": true}");
    setting3.setSettingValue("{\"url\": \"http://localhost:8070/wap-adaptor/response.jsp\"}");
    setting3.setSettingValue("{\"urlText\": \"Return\"}");
    setting3.setSettingValue("{\"cancelUrl\": \"http://localhost:8070/wap-adaptor/response.jsp\"}");
    setting3.setSettingValue("{\"cancelUrlText\": \"Cancel\&lt;/PRE&gt;&lt;P&gt;Here i am&amp;nbsp;doing every thing wrong. I have overrited setting value so only last setting value will be sent to authorize net. I should have done something like below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;SettingType setting3 = new SettingType();
    setting3.setSettingName("hostedPaymentReturnOptions");
    setting3.setSettingValue("{\"showReceipt\": true,\"url\": \"https://lccse-tomcat.com:8443/authorizenet/response.jsp\","+
    	"\"urlText\": \"Continue to site\",\"cancelUrl\": \"https://lccse-tomcat.com:8443/authorizenet/response.jsp\","+
    	"\"cancelUrlText\": \"Cancel Request\"}");
    	
    SettingType setting4 = new SettingType();
    setting4.setSettingName("hostedPaymentIFrameCommunicatorUrl");
    setting4.setSettingValue("{\"url\": \"https://lccse-tomcat.com:8443/authorizenet/response.jsp\"}");&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i am getting response page in my Iframe. &amp;nbsp;Could you please let me know how to get tranaction data. I can see tranaction data in network option of browser like below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{"resultCode":"Ok","messageCode":"Ok","transactionData":{"accountType":"Discover","accountNumber":"XXXX0012","transId":"40004666129","responseCode":"1","authorization":"XCPQAB","merchantName":"Questions Inc.","billTo":{"phoneNumber":"2132133432","firstName":"add","lastName":"asda","address":"asdsa","city":"asda","state":"asd","zip":"23212","country":"USA"},"shipTo":{},"totalAmount":"10.50","dateTime":"6/4/2017 11:36:54 AM"}}&lt;/PRE&gt;&lt;P&gt;How i will get it into my javascript. The below function never get called.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;	AuthorizeNetPopup.onReceiveCommunication = function (querystr) {
		var params = parseQueryString(querystr);
		console.log(querystr);
		switch(params["action"]) {
			case "successfulSave":
				AuthorizeNetPopup.closePopup();
				break;
			case "cancel":
				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();
				adjustPopupScreen();
				break;
		}
	};&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please let me know how i would get tranaction response data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is one more thing that is happening wrong is that when i use&amp;nbsp;"showReceipt": false in&amp;nbsp;hostedPaymentReturnOptions then after clicking Pay button it shows me Processing but it never return me on my response page. If i use &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"showReceipt": true then everything work fine . It show me continue button And after clicking continue button i return back on response page.&amp;nbsp;&lt;/SPAN&gt;What could be the possible reason for this issue.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2017 12:26:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Authorize-Net-Integration-issue-No-redirection-to/m-p/58349#M33008</guid>
      <dc:creator>devenderkumar</dc:creator>
      <dc:date>2017-06-04T12:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Authorize Net Integration issue. No redirection to my localhost after payment</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Authorize-Net-Integration-issue-No-redirection-to/m-p/69538#M42542</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also facing th same issue, that i am successfullly able to open the IFrame pop window to accept the credit card details and goes to show receipt page . but when i click continue button i am not able to get Transaction ID from response into to my page. could you please let me know what should i do to get the response from IFrame to html page?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i check in Google chrome network console i see the response,&lt;/P&gt;&lt;PRE&gt;{"resultCode":"Ok","messageCode":"Ok","transactionData":{"accountType":"MasterCard","accountNumber":"XXXX0015","transId":"60130039055","responseCode":"1","authorization":"VF2WPA","merchantName":"G and S Questions Inc.","billTo":{"phoneNumber":"","firstName":"Ellen","lastName":"Johnson","address":"14 Main Street","city":"Pecan Springs","state":"TX","zip":"44628","country":"US"},"totalAmount":"20.00","dateTime":"10/28/2019 5:56:35 PM"}}&lt;/PRE&gt;&lt;P&gt;But i am not able to see the response in the below function,&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;AuthorizeNetPopup.onReceiveCommunication = function (querystr) {
var params = parseQueryString(querystr);

switch (params["action"]) {
case "successfulSave":

AuthorizeNetPopup.closePopup();
break;
case "cancel":
AuthorizeNetPopup.closePopup();
break;
case "transactResponse":
var response = params["response"];
document.getElementById("token").value = response;
AuthorizeNetPopup.closePopup();
break;
case "resizeWindow":
alert(params);
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;
}
};&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Oct 2019 18:20:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Authorize-Net-Integration-issue-No-redirection-to/m-p/69538#M42542</guid>
      <dc:creator>Kathiravan</dc:creator>
      <dc:date>2019-10-28T18:20:11Z</dc:date>
    </item>
  </channel>
</rss>

