Reply
Highlighted
Member
Posts: 2
Registered: ‎11-17-2012

SIM Integration in C#

Hi,

 

I am integrating SIM method on website developing in asp.net. In SIM integration, user is redirected to authorize.net hosted payment page where user can input CC details, Can you please let me know if there is a way where when succesful payment, user can be redirected to website.

 

Thanks in advance.

 

Regards

Manoj

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: SIM Integration in C#

Highlighted
Member
Posts: 2
Registered: ‎11-17-2012

Re: SIM Integration in C#

Hi,

 

Many thanks for your reply.

 

I have setup "Default Relay Response URL" from aithorize.net control panel and also passing "x_relay_url" parameter as hidden value which contain valid relay response url but when i am submitting page, i am getting below error on authorize.net hosting page after enter credit card information.

 

"An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.

      This transaction has been approved.
It is advisable for you to contact the merchant to verify that you will receive the product or service."

 

Please advise where i am doing anything worng?

Also is there a possiblity to redirect user to website page once payment confirmed.

 

Thanks in advance.

 

Regards

Manoj

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: SIM Integration in C#

[ Edited ]

Does it use https? Can it be access from outside?

The only thing that is different for C# is that on the <page /> need to add EnableViewStateMac="false" on both the page the submit to authorize.net and the relay response page.

 

On the relay response page do a javascript redirect to a page on your site.

like http://community.developer.authorize.net/t5/Integration-and-Testing/DPM-Custom-Receipt-Page/m-p/3146...