# RoR + online payment

**URL:** <https://www.ruby-forum.com/t/ror-online-payment/108647>\
**Category:** Rails\
**Created:** [July 5, 2007, 5:11pm UTC](https://www.ruby-forum.com/t/ror-online-payment/108647 "2007-07-05T17:11:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@eric](https://www.ruby-forum.com/u/eric)\
**Post date:** [July 5, 2007, 5:11pm UTC](https://www.ruby-forum.com/t/ror-online-payment/108647/1 "2007-07-05T17:11:57Z")

</div>

Hi everyone,

I wonder what kind of plugins can be installed to combine RoR and online  
payment methods such as using Credit Cards or Paypal, etc?

Or must we create our own way to do the online payment?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![eric](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@eric](https://www.ruby-forum.com/u/eric)\
**Post date:** [July 5, 2007, 5:27pm UTC](https://www.ruby-forum.com/t/ror-online-payment/108647/2 "2007-07-05T17:27:38Z")

</div>

eric wrote:

> I wonder what kind of plugins can be installed to combine RoR and online  
> payment methods such as using Credit Cards or Paypal, etc?
> 
> Or must we create our own way to do the online payment?

The best way is to redirect your users to a service, such as PlugNPay,  
and  
let them log in there. That way, PNP manages their account, provides a  
call  
center, etc. You really don’t want to do all that.

Then each time the user requests your premium services, you contact PNP  
as a  
webservice to see if their account is up to date. If it is, you log the  
user  
into their features, and PNP pays you.

No moving parts. Almost no programming. And no endless customer support  
problems.

–  
Phlip  
[Test Driven Ajax (on Rails) [Book]](http://www.oreilly.com/catalog/9780596510657/)  
“Test Driven Ajax (on Rails)”  
assert\_xpath, assert\_javascript, & assert\_ajax

---

<div class="post-metadata">

**Author:** ![eric](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@eric](https://www.ruby-forum.com/u/eric)\
**Post date:** [July 5, 2007, 8:03pm UTC](https://www.ruby-forum.com/t/ror-online-payment/108647/3 "2007-07-05T20:03:56Z")

</div>

I use Google Checkout for my RoR developed e-commerce site (  
[http://www.joyli.net](http://www.joyli.net)).

I modified this ruby gem: [http://rubyforge.org/projects/checkout/](http://rubyforge.org/projects/checkout/)

And everything has worked out great. Google Checkout is an interesting  
choice because they aren’t charging anything from now through the end of  
the  
year. Even when they do start charging, their published rates are lower  
than many other alternatives I’ve seen.

Terry

On 7/5/07, Phlip [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> let them log in there. That way, PNP manages their account, provides a  
> problems.
> 
> –  
> Phlip  
> [Test Driven Ajax (on Rails) [Book]](http://www.oreilly.com/catalog/9780596510657/)  
> “Test Driven Ajax (on Rails)”  
> assert\_xpath, assert\_javascript, & assert\_ajax
> 
> >

–  
Terry (TAD) Donaghe  
[http://tadspot.tumblr.com](http://tadspot.tumblr.com)

---

<div class="post-metadata">

**Author:** ![eric](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@eric](https://www.ruby-forum.com/u/eric)\
**Post date:** [July 7, 2007, 4:00pm UTC](https://www.ruby-forum.com/t/ror-online-payment/108647/4 "2007-07-07T16:00:45Z")

</div>

You should definitely check out the ActiveMerchant plugin:

[http://www.activemerchant.org](http://www.activemerchant.org)

–  
Benjamin C.  
[http://www.bencurtis.com/](http://www.bencurtis.com/) – blog  
[http://agilewebdevelopment.com/rails-ecommerce](http://agilewebdevelopment.com/rails-ecommerce) – build e-commerce  
sites with Rails
