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

What is the difference in the repo app using Stripe's "V1" JS file vs the newer "V2"? #94

Closed rceee closed 9 years ago

rceee commented 10 years ago

I noticed that the javascript called remotely is Stripe's V1 (version 1 I assume). Is there any functionality or major differences in V1 and V2 that would warrant switching/upgrading to V2? Working through how the local JS was built now; but it's very different from Stripe's example Rails documentation. Would switching to V2 "break" the app (require a re-write of the local JS)?

DanielKehoe commented 10 years ago

No problem raising the issue here. I haven't looked at the new Stripe V2 JavaScript so I can't answer. Perhaps someone else can.

rceee commented 10 years ago

Thanks. Yeah, it seems all the Stripe documentation is written around V2 now, so it makes it a bit difficult to modify/add-on to the app as far as Stripe goes, not knowing if V1 supports all the functionality that V2 is based around (and documented on, etc).

DanielKehoe commented 10 years ago

The example app (and the tutorial) is overdue for an update. Unfortunately, due to the scope of the project, I won't have an update available until later in the year. You can use the existing version without any problem and update later.

DanielKehoe commented 9 years ago

There is a new version of this application for Rails 4.2 using the Payola gem.