<?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: Asp.net MVC - Update database from relayurl page in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Asp-net-MVC-Update-database-from-relayurl-page/m-p/27522#M14549</link>
    <description>&lt;P&gt;Did you get answer for this? Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jun 2012 07:53:36 GMT</pubDate>
    <dc:creator>balakrishna</dc:creator>
    <dc:date>2012-06-28T07:53:36Z</dc:date>
    <item>
      <title>Asp.net MVC - Update database from relayurl page</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Asp-net-MVC-Update-database-from-relayurl-page/m-p/7539#M5334</link>
      <description>&lt;P&gt;I am trying to use Authorize.Net integration (TEST MODE) with my MVC project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried with this url&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://test.authorize.net/gateway/transact.dll?x_login=...&amp;amp;x_test_request=true&amp;amp;x_delim_data=true&amp;amp;x_delim_char=%2c&amp;amp;x_show_form=PAYMENT_FORM&amp;amp;x_version=3.1&amp;amp;x_relay_response=true&amp;amp;x_fp_sequence=952&amp;amp;x_fp_timestamp=1288786208&amp;amp;x_fp_hash=....&amp;amp;x_relay_url=http://......&amp;amp;x_first_name=aaa&amp;amp;x_last_name=aaa&amp;amp;x_address=12%2c+east&amp;amp;x_city=FL&amp;amp;x_state=US&amp;amp;x_zip=11111&amp;amp;x_country=US&amp;amp;x_phone=5698&amp;amp;x_ship_to_first_name=aaa&amp;amp;x_ship_to_last_name=aaa&amp;amp;x_ship_to_address=12%2c+east&amp;amp;x_ship_to_city=FL&amp;amp;x_ship_to_state=US&amp;amp;x_ship_to_zip=111111&amp;amp;x_ship_to_country=US&amp;amp;x_invoice_num=Inv100&amp;amp;x_description=ItemSale1&amp;amp;x_amount=10&amp;amp;x_method=CC&amp;amp;x_type=AUTH_CAPTURE" target="_blank" rel="nofollow"&gt;https://test.authorize.net/gateway/transact.dll?x_login=...&amp;amp;x_test_request=true&amp;amp;x_delim_data=true&amp;amp;x_delim_char=%2c&amp;amp;x_show_form=PAYMENT_FORM&amp;amp;x_version=3.1&amp;amp;x_relay_response=true&amp;amp;x_fp_sequence=952&amp;amp;x_fp_timestamp=1288786208&amp;amp;x_fp_hash=....&amp;amp;x_relay_url=http://......&amp;amp;x_first_name=aaa&amp;amp;x_last_name=aaa&amp;amp;x_address=12%2c+east&amp;amp;x_city=FL&amp;amp;x_state=US&amp;amp;x_zip=11111&amp;amp;x_country=US&amp;amp;x_phone=5698&amp;amp;x_ship_to_first_name=aaa&amp;amp;x_ship_to_last_name=aaa&amp;amp;x_ship_to_address=12%2c+east&amp;amp;x_ship_to_city=FL&amp;amp;x_ship_to_state=US&amp;amp;x_ship_to_zip=111111&amp;amp;x_ship_to_country=US&amp;amp;x_invoice_num=Inv100&amp;amp;x_description=ItemSale1&amp;amp;x_amount=10&amp;amp;x_method=CC&amp;amp;x_type=AUTH_CAPTURE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works and the response in the relayUrl page is as follows :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The response code is: 1&lt;BR /&gt;The Reason text is: (TESTMODE) This transaction has been approved.&lt;BR /&gt;The Reason code is: 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This relayUrl page is in the server and this is a html page.&amp;nbsp; 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&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my doubt is how will the codebehind get executed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can anyone please clarify this doubt&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;</description>
      <pubDate>Tue, 16 Nov 2010 14:31:09 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Asp-net-MVC-Update-database-from-relayurl-page/m-p/7539#M5334</guid>
      <dc:creator>dlak10</dc:creator>
      <dc:date>2010-11-16T14:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Asp.net MVC - Update database from relayurl page</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Asp-net-MVC-Update-database-from-relayurl-page/m-p/27522#M14549</link>
      <description>&lt;P&gt;Did you get answer for this? Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2012 07:53:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Asp-net-MVC-Update-database-from-relayurl-page/m-p/27522#M14549</guid>
      <dc:creator>balakrishna</dc:creator>
      <dc:date>2012-06-28T07:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Asp.net MVC - Update database from relayurl page</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Asp-net-MVC-Update-database-from-relayurl-page/m-p/27620#M14596</link>
      <description>&lt;P&gt;Hey there,&lt;BR /&gt;&lt;BR /&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To subscribe, click &lt;STRONG&gt;Topic Options&lt;/STRONG&gt; at the top of this thread and then select &lt;STRONG&gt;Subscribe&lt;/STRONG&gt;. You'll then receive an email once anyone replies to your post.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Michelle&lt;BR /&gt;Developer Community Manager &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2012 22:15:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Asp-net-MVC-Update-database-from-relayurl-page/m-p/27620#M14596</guid>
      <dc:creator>Michelle</dc:creator>
      <dc:date>2012-07-02T22:15:03Z</dc:date>
    </item>
  </channel>
</rss>

