<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Authorize.net CIM</title>
		<link>https://legacy.forums.gravityhelp.com/topic/authoirzenet-cim</link>
		<description>Gravity Support Forums Topic: Authorize.net CIM</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 08:47:10 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/authoirzenet-cim" rel="self" type="application/rss+xml" />

		<item>
			<title>steveschutte on "Authorize.net CIM"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/authoirzenet-cim#post-323849</link>
			<pubDate>Fri, 14 Jun 2013 19:18:30 +0000</pubDate>
			<dc:creator>steveschutte</dc:creator>
			<guid isPermaLink="false">323849@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I understand that this is above and beyond, but if you can offer any help, it would be greatly appreciated.&#60;/p&#62;
&#60;p&#62;Can you offer any insight in getting this code to work.  Thank You, thank you, thank you.&#60;/p&#62;
&#60;p&#62;// MY CIM TEST&#60;br /&#62;
     private function createCustomerPaymentProfile($customerProfileId, $paymentProfile, $validationMode = &#34;none&#34;){&#60;/p&#62;
&#60;p&#62;        $customerProfileId = self::get_cim(self::get_local_api_settings($config));&#60;br /&#62;
		$paymentProfile = self::get_cim(self::get_local_api_settings($config));&#60;/p&#62;
&#60;p&#62;		$customerProfileId = new AuthorizeNetCustomer;&#60;br /&#62;
		$customerProfileId-&#38;gt;description = $form_data[&#34;form_title&#34;];&#60;br /&#62;
		$customerProfileId-&#38;gt;merchantCustomerId = $form_data[&#34;email&#34;];&#60;br /&#62;
		$customerProfileId-&#38;gt;email = $form_data[&#34;email&#34;];&#60;/p&#62;
&#60;p&#62;        $paymentProfile-&#38;gt;card_num = $form_data[&#34;card_number&#34;];&#60;/p&#62;
&#60;p&#62;        $exp_date = str_pad($form_data[&#34;expiration_date&#34;][0], 2, &#34;0&#34;, STR_PAD_LEFT) . &#34;-&#34; . $form_data[&#34;expiration_date&#34;][1];&#60;/p&#62;
&#60;p&#62;        $paymentProfile-&#38;gt;exp_date = $exp_date;&#60;/p&#62;
&#60;p&#62;        $paymentProfile-&#38;gt;card_code = $form_data[&#34;security_code&#34;];&#60;/p&#62;
&#60;p&#62;        $paymentProfile-&#38;gt;first_name = $form_data[&#34;first_name&#34;];&#60;/p&#62;
&#60;p&#62;        $paymentProfile-&#38;gt;last_name = $form_data[&#34;last_name&#34;];&#60;/p&#62;
&#60;p&#62;        $paymentProfile-&#38;gt;address = trim($form_data[&#34;address1&#34;] . &#34; &#34; . $form_data[&#34;address2&#34;]);&#60;/p&#62;
&#60;p&#62;        $paymentProfile-&#38;gt;city = $form_data[&#34;city&#34;];&#60;/p&#62;
&#60;p&#62;        $paymentProfile-&#38;gt;state = $form_data[&#34;state&#34;];&#60;/p&#62;
&#60;p&#62;        $paymentProfile-&#38;gt;zip = $form_data[&#34;zip&#34;];&#60;/p&#62;
&#60;p&#62;        $paymentProfile-&#38;gt;country = $form_data[&#34;country&#34;];&#60;/p&#62;
&#60;p&#62;        $paymentProfile-&#38;gt;email = $form_data[&#34;email&#34;];&#60;/p&#62;
&#60;p&#62;        $customerProfileId-&#38;gt;paymentProfiles[] = $paymentProfile;&#60;br /&#62;
        $request = new AuthorizeNetCIM;&#60;br /&#62;
        $response = $request-&#38;gt;createCustomerProfile($customerProfileId); &#60;/p&#62;
&#60;p&#62;        foreach($form_data[&#34;line_items&#34;] as $line_item)&#60;/p&#62;
&#60;p&#62;            $paymentProfile-&#38;gt;addLineItem($line_item[&#34;item_id&#34;], self::truncate($line_item[&#34;item_name&#34;], 31), self::truncate($line_item[&#34;item_description&#34;], 255), $line_item[&#34;item_quantity&#34;], GFCommon::to_number($line_item[&#34;item_unit_price&#34;]), $line_item[&#34;item_taxable&#34;]);&#60;/p&#62;
&#60;p&#62; foreach($form_data[&#34;line_items&#34;] as $line_item)&#60;/p&#62;
&#60;p&#62;            $customerProfileId-&#38;gt;addLineItem($line_item[&#34;item_id&#34;], self::truncate($line_item[&#34;item_name&#34;], 31), self::truncate($line_item[&#34;item_description&#34;], 255), $line_item[&#34;item_quantity&#34;], GFCommon::to_number($line_item[&#34;item_unit_price&#34;]), $line_item[&#34;item_taxable&#34;]);&#60;/p&#62;
&#60;p&#62;        return $transaction;&#60;/p&#62;
&#60;p&#62;    }&#60;/p&#62;
&#60;p&#62;//  END OF CIM TEST
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Authorize.net CIM"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/authoirzenet-cim#post-287049</link>
			<pubDate>Wed, 29 May 2013 15:32:11 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">287049@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Nothing new here as of yet. We will post on our blog as soon as there is something.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>steveschutte on "Authorize.net CIM"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/authoirzenet-cim#post-287007</link>
			<pubDate>Wed, 29 May 2013 15:13:23 +0000</pubDate>
			<dc:creator>steveschutte</dc:creator>
			<guid isPermaLink="false">287007@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Any updates or additional information about work-arounds?&#60;/p&#62;
&#60;p&#62;Thanks.&#60;/p&#62;
&#60;p&#62;Looking forward to this being part of the authorize.net plugin.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Authorize.net CIM"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/authoirzenet-cim#post-176024</link>
			<pubDate>Mon, 18 Mar 2013 21:53:43 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">176024@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There are no updates at this time.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bluvector on "Authorize.net CIM"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/authoirzenet-cim#post-175529</link>
			<pubDate>Mon, 18 Mar 2013 12:49:32 +0000</pubDate>
			<dc:creator>bluvector</dc:creator>
			<guid isPermaLink="false">175529@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Any updates on this front?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>idmloco on "Authorize.net CIM"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/authoirzenet-cim#post-170255</link>
			<pubDate>Wed, 13 Mar 2013 18:47:52 +0000</pubDate>
			<dc:creator>idmloco</dc:creator>
			<guid isPermaLink="false">170255@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I look forward to the same CIM intengration.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cwd on "Authorize.net CIM"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/authoirzenet-cim#post-133465</link>
			<pubDate>Mon, 28 Jan 2013 00:41:37 +0000</pubDate>
			<dc:creator>cwd</dc:creator>
			<guid isPermaLink="false">133465@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks. I tried contacting oturia via his website too but no reply unfortunately. Hope to see GF and Auth.net CIM integrated soon.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Authorize.net CIM"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/authoirzenet-cim#post-129382</link>
			<pubDate>Wed, 23 Jan 2013 08:51:34 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">129382@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If oturia does not pop in here, you can find public contact information on their profile page: &#60;a href=&#34;http://www.gravityhelp.com/forums/profile/oturia&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/profile/oturia&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cwd on "Authorize.net CIM"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/authoirzenet-cim#post-128920</link>
			<pubDate>Tue, 22 Jan 2013 22:07:58 +0000</pubDate>
			<dc:creator>cwd</dc:creator>
			<guid isPermaLink="false">128920@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;hey oturia - I'm looking to do the same thing you are. thanks for the note about the gform_pre_submission_filter. Would you be open to sharing some of the authorize.net CIM code? Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>oturia on "Authorize.net CIM"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/authoirzenet-cim#post-104452</link>
			<pubDate>Wed, 19 Dec 2012 10:06:48 +0000</pubDate>
			<dc:creator>oturia</dc:creator>
			<guid isPermaLink="false">104452@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;For anyone else looking at this, I added the CIM integration to the gform_pre_submission_filter I had to put it there since after submission Gravity Forms X's out the first 12 digits of the CC so you won't be able to pass to Auth.NET, you have to work directly with the POST variables and it means you are before auth.net can process anything but at least it's after the validation step. The nice thing you can do is get the unique customer id from auth.net and pass it back to your form. With that in place you can export your GP entries and do batch processes of payments in Auth.net
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
