Integration and Testing

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

Posts: 1
Registered: ‎11-16-2010 MVC - Update database from relayurl page

I am trying to use Authorize.Net integration (TEST MODE) with my MVC project.


I tried with this url


It works and the response in the relayUrl page is as follows :


The response code is: 1
The Reason text is: (TESTMODE) This transaction has been approved.
The Reason code is: 1


This relayUrl page is in the server and this is a html page.  What i want to know is how can i update the database. I have written method for updating data in the wcf service. Do i need to call the service methods from the html page Or do i have to add code to the "codebehind" of the relayUrl page i.e in MVC it is a controller method


my doubt is how will the codebehind get executed


can anyone please clarify this doubt





Posts: 2
Registered: ‎06-27-2012

Re: MVC - Update database from relayurl page

Did you get answer for this? Thanks in advance.

All Star
Posts: 1,072
Registered: ‎08-17-2009

Re: MVC - Update database from relayurl page

Hey there,

It doesn't look like anyone originally had any ideas on this, but someone still may have feedback at some point. I'd recommend subscribing to this topic so that you'll be alerted via email if anyone else from the community is able to respond with any comments.


To subscribe, click Topic Options at the top of this thread and then select Subscribe. You'll then receive an email once anyone replies to your post.


Developer Community Manager