Paypal Website Payments Pro with Ruby on Rails
Ben Kittrell
06/18/2006 01:07PM
Update - Paypal Website Payments Pro on Rails - Take 2
I've been writing the billing system for DoodleKit and I finally got to the actual payment authorization piece. I chose Paypal Website Payments Pro because it seemed simple in a couple of ways. First of all their pricing structure is very easy. $20/mo + a small nominal transaction fee. Most other gateways are like $10 for the gateway $10 for the merchant account, complex transaction fees, minimum transaction fees, and a $.10 fee if the payment is made on your birthday. They also have a web service API which gave me a warm fuzzy feeling inside. Every payment gateway I've ever worked with has been a real pain in the rump.
So anyway, I had this working with PHP just fine, but now it was time to get it working with Ruby. First I tried vPayPal which seemed promising. However I actually went through many different issues, which I regrettably didn't log. Most of them where issues with my environment and not vPayPal. I finally ended up with "tlsv1 alert unknown ca". This was after I had spent at least 2 weeks on this and I felt like I was getting nowhere. I can't say that the problem was with vPayPal, I'm pretty sure it was just some weird combination of circumstances.
I thought about writing my own plugin, but I knew that would come with another set of unsavory issues. Finally I found RoR::PayPal. I just followed their instructions and poof, it worked. The thing I like about this one, other than the fact that it worked for me right away, is that it's a plugin instead of a ruby library. This way I can include it with the source code and it's deployed with the app. Also it makes it easier for running multiple apps with different configurations.
All in all I would recommend RoR::PayPal for anyone looking to use Paypal Website Payment Pro with Ruby on Rails. I would also recommend Website Payments Pro in general, as it has been fairly easy to work with.
Now if I could just get someone to try it out. Anyone want to try out the payment system? I think it would be best to test out large transactions.
Comments
Have you been able to get the express checkout stuff working via RoR::PayPal ? I need to support that aspect of WPP. Please let me know. Email if possible.
Thanks for the tip. Fortunately, I've only wasted a few hours on VPaypal to find that it is NOT what I am looking for.
Thanks for the post. FYI, the link to the code is now http://elctech.com/projects/paypal.
It looks like they updated their blog recently.
Thanks Paul, I've updated the links.
Hi, thanks for you the post. I'm trying it out now. I'm having trouble with the first instruction in the README. Install GEM. How is that done?
CADMAX3D - 0800-7744204 - Oferece serviços de Computação Gráfica, Animações gráfica, produção de maquetes eletrônicas para apresentações de projetos arquitetônicas em multimídia com recursos de Walktour, interatividade e passeios virtuais internos.
If you're looking for a seriously good <a href="http://webstarts.com">free website</a> builder you should check this one out.
I'm on a new project where I'm trying to integrate WPP into a site. Have you found RoR::Paypal is still a good solution? Is it working with Rails 2? Paypal has an "official" list of compatible carts, so I'm hesitant to try another.
I'm working on integrating PayPal website payment pro into my project.
I can not find ROR:PayPal blog in given link. Can you please share that blog link.
Also, Is that still be a good solution for PayPal website paymen pro solution?
great post admin thanks for this imo live call app for pc.
http://www.imoforpcappdownload.com/
http://www.imoforpcappdownload.com/
http://www.tinder-pc-download.com/
https://www.showboxforpcfreedownload.com/
http://machi.ml/
http://www.tubemateforpcappdownload.com/
http://www.vidmateforpcfreedownloads.com/
https://imoforpcdownloadwindows.splashthat.com/
ls dsdjk njafhajosdf ioasdjfau fd as
https://attorney-tehran.net/
Nice post.
Thank you for sharing.
https://lgwashingmachineservicecenter.my-free.website/