<?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 Newbie trying to get Company info into A.net. in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Newbie-trying-to-get-Company-info-into-A-net/m-p/70900#M43593</link>
    <description>&lt;P&gt;We have a web developer who is redoing our site and trying to get the Company name to process into A.net. It is a WordPress site and all we are doing is performing a basic CC payment transaction where we enter the Company name with all other fields but it is the only thing that does not show at A.net. The developer sent a snippet of the code that contains the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;add_filter( 'gform_authorizenet_transaction_pre_capture', function( $transaction, $form_data, $config, $form, $entry ) {&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;if ( $form['id'] == 7 ) {&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$transaction-&amp;gt;invoice_num = rgar( $entry, '3' );&lt;/P&gt;&lt;P class="p1"&gt;$transaction-&amp;gt;&lt;FONT color="#FF0000"&gt;ship_to_company&lt;/FONT&gt; = rgar( $entry, '6' );&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;return $transaction;&lt;/P&gt;&lt;P class="p1"&gt;}, 10, 5 );&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;The problem is ship_to_company is not correct but we don't know what it should be! Thanks for any help..&lt;/P&gt;</description>
    <pubDate>Tue, 03 Mar 2020 20:11:22 GMT</pubDate>
    <dc:creator>rpaulh</dc:creator>
    <dc:date>2020-03-03T20:11:22Z</dc:date>
    <item>
      <title>Newbie trying to get Company info into A.net.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Newbie-trying-to-get-Company-info-into-A-net/m-p/70900#M43593</link>
      <description>&lt;P&gt;We have a web developer who is redoing our site and trying to get the Company name to process into A.net. It is a WordPress site and all we are doing is performing a basic CC payment transaction where we enter the Company name with all other fields but it is the only thing that does not show at A.net. The developer sent a snippet of the code that contains the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;add_filter( 'gform_authorizenet_transaction_pre_capture', function( $transaction, $form_data, $config, $form, $entry ) {&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;if ( $form['id'] == 7 ) {&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$transaction-&amp;gt;invoice_num = rgar( $entry, '3' );&lt;/P&gt;&lt;P class="p1"&gt;$transaction-&amp;gt;&lt;FONT color="#FF0000"&gt;ship_to_company&lt;/FONT&gt; = rgar( $entry, '6' );&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;return $transaction;&lt;/P&gt;&lt;P class="p1"&gt;}, 10, 5 );&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;The problem is ship_to_company is not correct but we don't know what it should be! Thanks for any help..&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 20:11:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Newbie-trying-to-get-Company-info-into-A-net/m-p/70900#M43593</guid>
      <dc:creator>rpaulh</dc:creator>
      <dc:date>2020-03-03T20:11:22Z</dc:date>
    </item>
  </channel>
</rss>

