cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

Not able to Transaction response if showReceipt= true and not able to redirect on response page

Hi,

 

I am integrating Authorize.net with our system for payment. Currently  i am using sendbox account for this.

 

I am facing a strange problem in this. Below are my settings for for redirection after payment and showing recipt. I am using IFrame for integration as i need tranaction ID to store in our DB.

 

SettingType setting3 = new SettingType();
    setting3.setSettingName("hostedPaymentReturnOptions");
    setting3.setSettingValue("{\"showReceipt\": false,\"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\"}");
   // setting3.setSettingValue("{\"url\": \"https://lccse-tomcat.com:8443/authorizenet/response.jsp\"}");
    	
    SettingType setting4 = new SettingType();
    setting4.setSettingName("hostedPaymentIFrameCommunicatorUrl");
    setting4.setSettingValue("{\"url\": \"https://lccse-tomcat.com:8443/authorizenet/contentx/IframeCommunicator.html\"}");

Now the problem that i am facing is that when i use showReceipt: false then i am able to get Tranaction data VIA hostedPaymentIFrameCommunicator. But after clicking Pay button it shows me Processing but never redirect me on response page. In this case i have selected showReceipt: false. So it should redirect me on response page. But it stuck showing me Processing button.

 

Now when i select showReceipt: true then after clicking Pay button it redirect me on Recipt page without Tranaction data. When i click on Continue button of Recipt page then it just close the Iframe. and no tranaction data is availabe to me. 

 

 

@Aaron  Any idea to overcome this problem.

 

Thanks

Devender Kumar

devenderkumar
Member
Who Me Too'd this topic