The best way to integrate Paypal with Ruby
3 answers
You should consider Active Merchant , which is an actively developed, mature library. While it integrates well with Rails, it can be used as a stand-alone library and supports many payment methods if you think about adding non-PayPal methods at some point.
+3
source to share
I created a Gem to do exactly that: https://rubygems.org/gems/sinatra-paypal
You use it simply by adding a payment
block to your application
payment :complete do |p|
# check the price is correct, then
# do whatever
end
0
source to share