Skip to content

Instantly share code, notes, and snippets.

@em
Created September 7, 2011 22:46
Show Gist options
  • Save em/1202036 to your computer and use it in GitHub Desktop.
Save em/1202036 to your computer and use it in GitHub Desktop.
Recurly.buildSubscriptionForm({
target: '#recurly-subscribe'
, planCode: 'simpleplan'
, successURL: 'confirmation.html'
, distinguishContactFromBillingInfo: false
, collectCompany: true
, privacyPolicyURL: 'http://example.com/pp'
, preFill: {
contactInfo: {
firstName: 'Joe'
, lastName: 'User'
, email: '[email protected]'
, phone: '555-555-5555'
, companyName: 'Acme'
}
, billingInfo: {
address1: '123 Somestreet'
, address2: '45'
, city: 'San Francisco'
, zip: '94107'
, state: 'CA'
, country: 'US'
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment