Hey folks, I would like to ask for feedback and advice on implementing
payments via Paypal in Rails, specifically recurring payments.
Background: I'm currently using the paypal-recurring gem (https://
github.com/fnando/paypal-recurring), which works wonderfully, but the
Paypal page that my user is taken to only allows payment from Paypal
accounts - i.e. the user must either log in to Paypal, or sign up for
a new account with a credit card. This approach uses Paypal's
ExpressCheckout functionality, which provides an API to integrate
recurring payments.
Now, Paypal has a Website Payment Standard, which is essentially a
form with hidden elements and which accepts direct credit card
payments - they also help you customise your own "BUY NOW" buttons.
However there doesn't seem to be an API to support this (http://
stackoverflow.com/questions/9523376/api-differences-between-paypal-
express-checkout-and-website-payment-standard,
http://stackoverflow.com/questions/8992244/paypal-express-checkout-subscription-using-credit-card-payment).
I need a simple solution for logged-in users to pay by credit-card
only, that has a callback mechanism to inform my app once a user has
paid, so that I can redirect them back to an appropriate view with the
updated payment status. Doing my best to search for workarounds, but I
thought of asking the experienced SRB folks here too - I'm sure some
of you have gone down this path before.
Of course, if there's a much simpler alternative approach to payments
(ActiveMerchant hmm?) that solves my problem above, please holler!
Next beer at SRB meetup will be on me :D
cheers,
Mingding