Has anyone used the ActiveMerchant Stripe gateway to process recurring/subscription payments? If so, I'd love to see a code example.
There are a few references to 'recurring' in the gateway's source - https://github.com/Shopify/active_merchant/blob/master/lib/active_merchant/billing/gateways/stripe.rb, but I haven't been able to successfully supply a plan as described at https://stripe.com/docs/subscriptions.
Stripe has a Ruby gem, but I'd prefer to use ActiveMerchant b/c my Rails app is already using several other payment gateways.
Any help is much appreciated!
Stripe implementation at ActiveMerchant doesn't support recurring/subscription payments. In fact, most of the ActiveMerchant gateways integrations are with Shopify in mind. And 99.99% of Shopify transactions are one time transactions.
Take a look at the PayPal recurring solution at ActiveMerchant and you'll realize AM hasn't been focused at all on subscriptions.
Disclaimer: I work at MONEI.
Related
I have a hosted web site built on Rails 2.3.14 and Ruby 1.8.7. In order to capture shipping info so I can compute shipping charge, I provide the form for shipping address and then use a credit card processor just to handle the actual credit card entry and authorization. PayPal's Payments Advanced does exactly what I want. I'd really like to use the activemerchant gem but I cannot find information on which specific gateway to use or how. There is an active_merchant discussion on github that says "This is almost an carbon copy of Payflow Link", but I cannot manage to convert that to a useful example, since every example I find passes CC info. Can anyone point to or provide an example of this usage of activemerchant?
-Russ
Payments Advanced is basically PayFlow Link, but it uses PayPal as your merchant processor instead of a 3rd party merchant account.
As such, you'll use the same steps as PayFlow link with a few minor changes. You can get all of the info about Payments Advanced here.
I don't know of any specific gem already developed for it, though.
I am making a Ruby on Rails app and I need to be able to bill users. I would like to use either PayPal, credit cards, or both. I looked at Saasy (https://github.com/maccman/saasy) but it requires one of three paid gateways, and I need a free gateway. Is there any way to do this for free?
Edit: Is it smart to do it on my own using the Railscasts PayPal tutorials?
There is no such thing as a free gateway.
The cheapest/best option in my opinion is run your site with Recurly and use Intuit Merchant Service instead of PayPal.
Recurly has tight integration with IMS, and they also have a very nice Gem that you can add to your rails app which makes managing accounts and billing in-app quite easy.
Try to use active_merchant
https://github.com/Shopify/active_merchant
In authorize.net I used active merchant gem but activemerchant not support Prolific Payment Gateway. please suggest me a gem or way.
I don't know of any gem, but you can always implement their API yourself. It sounds harder than it really is.
I have been looking at paypal for a online transaction, but I wanted to know if there are other 3rd party vendor that offer a good service at a good price ( transaction fee) and ease of use of API for ruby on rails application.
Check out Braintree. There's a Braintree Ruby gem that makes integration easy, and pricing is very competitive. And you don't have to fear "the paypal call".
Authorize.net has a better pricing plan that PayFloPro by Paypal, with very similar functionality.
I have Ruby on Rails application. I can get money from users cards using ActiveMerchant. Now I need to make payouts to the some users based on application logic.
For example,
Get 10$ from Andrew
Get 10$ from Mark
Get 10$ from Mike
... application magic that finds who should get money ...
Pay 30$ to Mark
Generally, I can use not only Ruby/Rails based solution but any protocol based on requests and responses.
I am planning to use Authorize.net but if this feature implementation will require to use something else then I can switch to other billing processing system. I prefer not to use PayPal.
Few technical details:
Ruby 1.8
Rails 2.3.2
ActiveMerchant 1.4.2
How can I manage automatic payout in my application?
Both the Authorize.net and the Braintree gateways support processing payments via ACH, or direct deposit into someone's bank account. Authorize.net's implementation is called eCheck, and is not currently supported in the ActiveMerchant gateway code. Braintree's API is supported in ActiveMerchant, and the Check model in AM will help you along.
You'll need to collect an account number and a routing number from Mark so that you can make deposits into his account.