<?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 Ruby on Rails Relay Response Time Out Problem in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Ruby-on-Rails-Relay-Response-Time-Out-Problem/m-p/16642#M9373</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to integrate the Direct Post Method into a ruby on rails application. However, whenever I declare a session variable, variable, or create a database record I get a request time out. I obvioulsy must be doing something wrong.&amp;nbsp; I don't understand why I get a request time out by declaring a varaible or session variable.&amp;nbsp; For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt; def relay_response
    sim_response = AuthorizeNet::SIM::Response.new(params)
    if sim_response.success?(AUTHORIZE_NET_CONFIG['api_login_id'], AUTHORIZE_NET_CONFIG['merchant_hash_value'])

      session[:order_first_name] = sim_response.x_first_name ------ causes time out
      render :partial =&amp;gt; "processing"
    else
      render
    end
  end﻿&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there another approach to take to declare variables? Ultimately, I need to get access to the individual who place the orders first name, last name, and trans code and store in the database.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2011 19:12:43 GMT</pubDate>
    <dc:creator>redbush</dc:creator>
    <dc:date>2011-09-08T19:12:43Z</dc:date>
    <item>
      <title>Ruby on Rails Relay Response Time Out Problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Ruby-on-Rails-Relay-Response-Time-Out-Problem/m-p/16642#M9373</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to integrate the Direct Post Method into a ruby on rails application. However, whenever I declare a session variable, variable, or create a database record I get a request time out. I obvioulsy must be doing something wrong.&amp;nbsp; I don't understand why I get a request time out by declaring a varaible or session variable.&amp;nbsp; For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt; def relay_response
    sim_response = AuthorizeNet::SIM::Response.new(params)
    if sim_response.success?(AUTHORIZE_NET_CONFIG['api_login_id'], AUTHORIZE_NET_CONFIG['merchant_hash_value'])

      session[:order_first_name] = sim_response.x_first_name ------ causes time out
      render :partial =&amp;gt; "processing"
    else
      render
    end
  end﻿&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there another approach to take to declare variables? Ultimately, I need to get access to the individual who place the orders first name, last name, and trans code and store in the database.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2011 19:12:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Ruby-on-Rails-Relay-Response-Time-Out-Problem/m-p/16642#M9373</guid>
      <dc:creator>redbush</dc:creator>
      <dc:date>2011-09-08T19:12:43Z</dc:date>
    </item>
  </channel>
</rss>

