- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
getting started with CIM in Ruby
I'm interested in implementing CIM with ruby and heroku. Can someone point me to code examples for CIM and ruby?
One more question - what are the required fields to charge a card? The sandbox example asked only for card number and expiration date. What about name and address? I type these information in even for amazon, I always thought they are required.
02-23-2012 02:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To charge the card through what API? If you're using CIM, you set up the billing profile and then you just use the profile ID from then on. If you're using AIM, then the minimum is card number and expiration date. Name is no longer used as a security item, and address is only required if you're using the AVS features to match against the card's billing address. Note that you probably do want card code, however.

02-23-2012 03:19 PM - edited 02-23-2012 03:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@TJPride I want to use AIM. Is there any API online, besides me reading the gem file source code directly?
Also, do i need to unpack my gem for heroku deployment? I need some pointers here as well.
Thanks.
02-25-2012 09:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I figured out the heroku question. In Rails 3, it's pretty straight forward, unpacking and refereing in Gemfile by folder.
02-25-2012 11:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you answer the question regarding CIM and ruby gem? Where do i find good documents and examples for CIM class in ruby gem?
02-25-2012 11:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This claims there's CIM sample code for Ruby:
http://developer.authorize.net/downloads/samplecode/
I use PHP myself.
02-26-2012 02:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://developer.authorize.net/downloads/samplecode/ is not helpful for Ruby.
The sample code referenced here doesn't use Authorize.net's own Ruby gem.
I'm just reading the Ruby gem source code and reverse engineering at this point... Not ideal but don't see any way around it.
02-27-2012 10:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am looking for the same sample code you were. Did you ever find anything?
03-17-2012 12:12 AM
