Blog

Magento and Authorize.net CIM – Perfect Together

Well, we all know Magento is the best e-commerce platform around. And Authorize.net has to be the most popular payment gateway around. So it came as a real surprise that there’s no support in Magento for the (not so new) service from Authorize.net called CIM (Customer Information Manager) that lets you save customer credit cards at Authorize.net safely and in a PCI compliant way. Not only is there no support in Magento for CIM, but the available extensions are very limited in functionality.

So when a customer asked for saved credit cards where they could add/edit and delete saved cards as well as save multiple cards, it became clear that the only thing to do was to build an extension ourselves. The result? Pure fun. I know – geeky as all you know what. But using the Authorize.net API and building out the Magento functionality was a blast. All functionality was created without saving any credit card numbers or CVC codes to the local Magento database. Here are some highlights of what we’ve come up with:

Configuring the component in the System Configuration in Magento:

Adding a new credit card in the customer account area – A “validation” transaction is run when the card is saved to ensure that the card is valid and that the CVC and AVS rules pass. [above]

Viewing the list of saved cards in the customer account area – A customer can have any number of saved cards. [above]

Editing a saved card [above]

Selecting a saved card at the checkout [above]

Adding a new credit card at the checkout [above]

7 Comments

  1. Oğuz Çelikdemir

    In terms of PCI compliance, is this good way? What if, someone catch API login ID and transaction key!

  2. Trent

    Are you offering this as a module?

  3. AJ

    Would you be interested in releasing this module open source or selling it?

  4. Lee Taylor

    Hi team: good work! And solid post. Definitely appreciate your contribution to the Magento community.

    Regarding the “validation” transaction: what authorization code would you suggest running without charging the credit card (essentially making a $0 purchase)? Or does your “validation transaction” include a “penny charge” to validate the card?

    And do you plan on making this available for purchase?

    Cheers!

  5. Kris

    Is this for sale for community edition 1.7?

  6. John

    Yes, Gorilla Commerce on Magento Connect has a module available for purchase for community and enterprise editions

  7. Jason

    If you guys aren’t selling this we have an extension that does this and includes API access for partial captures.
    http://www.strattasecomm.com/distributor-wholesale-modules/authorize-net-cim-partial-invoice-extension

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>