PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Authorize.net CIM

  1. I was wondering if there is anyway to pass information from gravity into authorize.net CIM (Customer Information Manager) so that my client may bill them manually later. I see you are using the standard authorize.net libraries which include CIM but don't see it connected currently.

    Posted 5 years ago on Tuesday December 18, 2012 | Permalink
  2. David Peralty
    Administrator

    There currently isn't a way to pass information into their CIM through our Authorize.net Add-on. This is something we are currently exploring for a future release. All my best!

    Posted 5 years ago on Tuesday December 18, 2012 | Permalink
  3. That's what I thought, I will let you know if I find a workaround for it and post back for others, thanks for the quick reply on this.

    Posted 5 years ago on Tuesday December 18, 2012 | Permalink
  4. David Peralty
    Administrator

    No problem and all my best!

    Posted 5 years ago on Tuesday December 18, 2012 | Permalink
  5. 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

    Posted 5 years ago on Wednesday December 19, 2012 | Permalink
  6. cwd
    Member

    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!

    Posted 5 years ago on Wednesday January 23, 2013 | Permalink
  7. If oturia does not pop in here, you can find public contact information on their profile page: http://www.gravityhelp.com/forums/profile/oturia

    Posted 5 years ago on Wednesday January 23, 2013 | Permalink
  8. cwd
    Member

    Thanks. I tried contacting oturia via his website too but no reply unfortunately. Hope to see GF and Auth.net CIM integrated soon.

    Posted 5 years ago on Monday January 28, 2013 | Permalink
  9. I look forward to the same CIM intengration.

    Posted 5 years ago on Wednesday March 13, 2013 | Permalink
  10. bluvector
    Member

    Any updates on this front?

    Posted 5 years ago on Monday March 18, 2013 | Permalink
  11. There are no updates at this time.

    Posted 5 years ago on Tuesday March 19, 2013 | Permalink
  12. steveschutte
    Member

    Any updates or additional information about work-arounds?

    Thanks.

    Looking forward to this being part of the authorize.net plugin.

    Posted 4 years ago on Wednesday May 29, 2013 | Permalink
  13. David Peralty
    Administrator

    Nothing new here as of yet. We will post on our blog as soon as there is something.

    Posted 4 years ago on Wednesday May 29, 2013 | Permalink
  14. steveschutte
    Member

    I understand that this is above and beyond, but if you can offer any help, it would be greatly appreciated.

    Can you offer any insight in getting this code to work. Thank You, thank you, thank you.

    // MY CIM TEST
    private function createCustomerPaymentProfile($customerProfileId, $paymentProfile, $validationMode = "none"){

    $customerProfileId = self::get_cim(self::get_local_api_settings($config));
    $paymentProfile = self::get_cim(self::get_local_api_settings($config));

    $customerProfileId = new AuthorizeNetCustomer;
    $customerProfileId->description = $form_data["form_title"];
    $customerProfileId->merchantCustomerId = $form_data["email"];
    $customerProfileId->email = $form_data["email"];

    $paymentProfile->card_num = $form_data["card_number"];

    $exp_date = str_pad($form_data["expiration_date"][0], 2, "0", STR_PAD_LEFT) . "-" . $form_data["expiration_date"][1];

    $paymentProfile->exp_date = $exp_date;

    $paymentProfile->card_code = $form_data["security_code"];

    $paymentProfile->first_name = $form_data["first_name"];

    $paymentProfile->last_name = $form_data["last_name"];

    $paymentProfile->address = trim($form_data["address1"] . " " . $form_data["address2"]);

    $paymentProfile->city = $form_data["city"];

    $paymentProfile->state = $form_data["state"];

    $paymentProfile->zip = $form_data["zip"];

    $paymentProfile->country = $form_data["country"];

    $paymentProfile->email = $form_data["email"];

    $customerProfileId->paymentProfiles[] = $paymentProfile;
    $request = new AuthorizeNetCIM;
    $response = $request->createCustomerProfile($customerProfileId);

    foreach($form_data["line_items"] as $line_item)

    $paymentProfile->addLineItem($line_item["item_id"], self::truncate($line_item["item_name"], 31), self::truncate($line_item["item_description"], 255), $line_item["item_quantity"], GFCommon::to_number($line_item["item_unit_price"]), $line_item["item_taxable"]);

    foreach($form_data["line_items"] as $line_item)

    $customerProfileId->addLineItem($line_item["item_id"], self::truncate($line_item["item_name"], 31), self::truncate($line_item["item_description"], 255), $line_item["item_quantity"], GFCommon::to_number($line_item["item_unit_price"]), $line_item["item_taxable"]);

    return $transaction;

    }

    // END OF CIM TEST

    Posted 4 years ago on Friday June 14, 2013 | Permalink

 

Support Tickets

Open A New Support Ticket
 Open A New Priority Support Ticket *

* Developer license holders only