[rubygems] how to integate paypal with https

Hello everyone,

I have 3 main questions and they are:

  1. Is it possible to integrate the PayPal payment gateway within our

website? My client doesn’t want the customer to be directed to the

PayPal website to complete the transaction.

  1. I tried integrating the ‘Ruby PayPal Gem’ from http://www.elctech.com/projects/paypal

but ran into some issues. I am using the PayPal SOAP API on Rails

1.2.5. I have a PayPal Pro and Developer Account but I did not get

sandbox_api.crt, sandbox_api.key, live_api.crt and live_api.key as

required for this installation.

My questions are a) Is this library compatible with Rails 1.2.5? and

b) Could someone direct me to a good tutorial of installing this gem?

  1. Is there a way to work with Active Merchant on Rails 1.2.5 because

I think it is only compatible with the latest version?

I’ve been trying to crack this since the last 2 days and I am

desperate to get this going. Any help will be greatly appreciated.

Thanks!

Amit

Try Google Checkout. I think they allow for in-website purchases.

Vish

Perhaps it's not the best way, but I'm using the PayPal NVP (Name-
Value Pair) API by doing crude stuff: creating a string of name-value
pairs, encoding it, sending an https post to PayPal with credentials,
and parsing the response. The rails community has provided some great
tools, but I sometimes find it easier to take a more "simple" approach
and do some work myself. Then, I at least know what's going wrong
(and I can blame any problems on myself). If you're used to SOAP,
have at it. I found it to be a bit more than I needed for a few
simple requests and responses.

-Kyle