RailsApps / rails-stripe-membership-saas

An example Rails 4.2 app with Stripe and the Payola gem for a membership or subscription site.
http://railsapps.github.io/rails-stripe-membership-saas
1.14k stars 232 forks source link

Using with one-off transactions/as a store #66

Closed tibbon closed 11 years ago

tibbon commented 11 years ago

I'm building a site, but my usage case instead of recurring subscriptions is based around the need to be able to buy something on a 1-off basis (like you'd do on Amazon, etc)

This seems like a pretty common use case for sites. Any chance that such functionality could be added as an option with the built-in code? Clearly, it can be modified for that, but it takes a bit of work.

DanielKehoe commented 11 years ago

Thanks for the suggestion. It would likely be a separate tutorial and I'll consider it in planning for the next round of new tutorials.

billvieux commented 11 years ago

If it is truly a one-off purchase (not a shopping cart implementation), take a look at the Checkout.js from Stripe. https://stripe.com/docs/checkout https://stripe.com/docs/checkout/guides/rails