<?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 DPM Relay Response Error - The gateway no longer supports the requested method of integration. in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Relay-Response-Error-The-gateway-no-longer-supports-the/m-p/36355#M20226</link>
    <description>&lt;P&gt;I set up the basic example that Authorize.net provide sample code for, so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;%=AuthorizeNet.Helpers.CheckoutFormBuilders.CreditCardForm(true) %&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;protected void checkout_Click(object sender, EventArgs e)
{
//pull from the store
var gate = OpenGateway();
//build the request from the Form post
var apiRequest = CheckoutFormReaders.BuildAuthAndCaptureFromPost();
//set the amount - you can also set this from the page itself
//you have to have a field named "x_amount"
apiRequest.Queue(ApiFields.Amount, "250");

var response = gate.Send(apiRequest);
if (response.Approved)
{
Response.Write(string.Format("Thank you! Order approved: {0}", response.AuthorizationCode));
//record the order, send to the receipt page
Response.Redirect("success.aspx");
}
else
{
//error... oops. Reload the page
}
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like this it goes through successfully. &amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I add the parameters for the relay response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;apiRequest.Queue(ApiFields.RelayResponse, "TRUE");
apiRequest.Queue(ApiFields.DelimitData, "FALSE");
apiRequest.Queue("x_Relay_URL", postUrl);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will post to my page, but it posts the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;x_response_code : 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x_response_reason_code : 92&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x_response_reason_text : The gateway no longer supports the requested method of integration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;as well as the other parameters. &amp;nbsp;Anyone seen this before?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2013 23:48:26 GMT</pubDate>
    <dc:creator>maembe</dc:creator>
    <dc:date>2013-10-22T23:48:26Z</dc:date>
    <item>
      <title>DPM Relay Response Error - The gateway no longer supports the requested method of integration.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Relay-Response-Error-The-gateway-no-longer-supports-the/m-p/36355#M20226</link>
      <description>&lt;P&gt;I set up the basic example that Authorize.net provide sample code for, so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;%=AuthorizeNet.Helpers.CheckoutFormBuilders.CreditCardForm(true) %&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;protected void checkout_Click(object sender, EventArgs e)
{
//pull from the store
var gate = OpenGateway();
//build the request from the Form post
var apiRequest = CheckoutFormReaders.BuildAuthAndCaptureFromPost();
//set the amount - you can also set this from the page itself
//you have to have a field named "x_amount"
apiRequest.Queue(ApiFields.Amount, "250");

var response = gate.Send(apiRequest);
if (response.Approved)
{
Response.Write(string.Format("Thank you! Order approved: {0}", response.AuthorizationCode));
//record the order, send to the receipt page
Response.Redirect("success.aspx");
}
else
{
//error... oops. Reload the page
}
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like this it goes through successfully. &amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I add the parameters for the relay response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;apiRequest.Queue(ApiFields.RelayResponse, "TRUE");
apiRequest.Queue(ApiFields.DelimitData, "FALSE");
apiRequest.Queue("x_Relay_URL", postUrl);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will post to my page, but it posts the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;x_response_code : 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x_response_reason_code : 92&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x_response_reason_text : The gateway no longer supports the requested method of integration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;as well as the other parameters. &amp;nbsp;Anyone seen this before?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2013 23:48:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Relay-Response-Error-The-gateway-no-longer-supports-the/m-p/36355#M20226</guid>
      <dc:creator>maembe</dc:creator>
      <dc:date>2013-10-22T23:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: DPM Relay Response Error - The gateway no longer supports the requested method of integration.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Relay-Response-Error-The-gateway-no-longer-supports-the/m-p/36357#M20227</link>
      <description>&lt;P&gt;If you are doing&lt;/P&gt;&lt;PRE&gt;var response = gate.Send(apiRequest);&lt;/PRE&gt;&lt;P&gt;you are using AIM, not DPM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to keep it simple, download the SIM sample code(not the SDKs) and use the java section on the DPM documentation for the list of fields for DPM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;x_response_code : 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x_response_reason_code : 92&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x_response_reason_text : The gateway no longer supports the requested method of integration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mean you are mixing API fields.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2013 00:19:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-Relay-Response-Error-The-gateway-no-longer-supports-the/m-p/36357#M20227</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-10-23T00:19:06Z</dc:date>
    </item>
  </channel>
</rss>

