README.md in fake_stripe-0.1.0 vs README.md in fake_stripe-0.2.0
- old
+ new
@@ -34,21 +34,28 @@
end
```
Include the Stripe JavaScript in your application template.
-If you're using Stripe.js v1:
+For Stripe.js v1:
```rhtml
# app/views/layouts/application.html.erb
<%= javascript_include_tag "#{STRIPE_JS_HOST}/v1/" %>
```
-Or if you're using Stripe.js v2:
+For Stripe.js v2:
```rhtml
# app/views/layouts/application.html.erb
<%= javascript_include_tag "#{STRIPE_JS_HOST}/v2/" %>
+```
+
+For Stripe.js v3:
+
+```rhtml
+# app/views/layouts/application.html.erb
+<%= javascript_include_tag "#{STRIPE_JS_HOST}/v3/" %>
```
When the test suite runs `fake_stripe` will override the address for
`STRIPE_JS_HOST` and serve up a local version of [Stripe.js](https://stripe.com/docs/stripe.js).