Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

update readme, outdated examples

  • Loading branch information...
commit f96f00ca84e63b36f185fe278e34d152f9420894 1 parent 79d9570
Emery Denuccio em authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 4 README.md
8 README.md
Source Rendered
@@ -32,9 +32,9 @@ Recurly.config({
32 32 environment: 'sandbox' // or 'production'
33 33 });
34 34
35   -Recurly.buildSubscribeForm({
  35 +Recurly.buildSubscriptionForm({
36 36 target: '#subscribe', // A jQuery selector for the container element to append the form to
37   - plan: 'myplancode' // A plan you have created in recurly-app
  37 + planCode: 'myplancode' // A plan you have created in recurly-app
38 38 successURL: '/success?account_code={account_code}' // Redirect on success URL
39 39 });
40 40 ```
@@ -66,9 +66,9 @@ Recurly.config({
66 66 }
67 67 });
68 68
69   -Recurly.buildSubscribeForm({
  69 +Recurly.buildSubscriptionForm({
70 70 target: '#subscribe' // A jQuery selector for the container element to append the form to
71   - , plan: 'myplancode' // A plan you have created in recurly-app
  71 + , planCode: 'myplancode' // A plan you have created in recurly-app
72 72 , afterSubscribe: function() {} // Callback after subscription success
73 73 , addressRequirement: 'full' // Address fields to display (full | zipstreet | zip | none)
74 74 , enableAddOns: true | false

0 comments on commit f96f00c

Please sign in to comment.
Something went wrong with that request. Please try again.