Welcome to ClipClip!
Already a Member? Sign In
The clip (ID 133666) is not found.
 

OmniNerd - Articles: Processing Credit Cards with Ruby on Rails

source: http://www.omninerd.com/2007/01/23/articles/66

clipped by chao Jan 30, 2007

payment

develop a ruby on rails web app

Chao

Notes by chao:

ActiveMerchant is a rails processing library extracted from Shopify

  • Processing Credit Cards with Ruby on Rails

    This article is for anyone who is trying to handle credit card transactions on-line using Ruby on Rails. 1 If you are like me, the fact that Ruby on Rails is still in its infancy has probably left you pounding your head against the wall while looking for quick solutions to old problems like e-commerce. More than likely, the source of your headaches (aside from the pounding) is the lack of documentation, even with popular plugins. This article is the sum of hours of scouring the Internet trying to piece together everything about Active Merchant, SSL, Apache, et al., and make them all play nicely in a Ruby on Rails application.

    For the entirety of this article, I will assume you have a bank merchant account and an Authorize.net merchant account. 2 (Even if you don't, the article should help if you plan on using the Active Merchant payment abstraction library plugin, which is what I use for my transactions.) Authorize.net will serve as an on-line third party to review our credit card transactions and issue an approval/rejection. It will then be up to our code to handle the response. Simple enough? Let's get to work.

 

Comments

No comments yet

Please sign in to comment.