Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

clean up examples

  • Loading branch information...
commit 3d7661fdb1f85f8be29646ddf8631449f5365b24 1 parent 190aa6b
@em em authored
View
9 examples/gridsystem.html
@@ -12,16 +12,15 @@
Recurly.config({
environment: 'sandbox'
, subdomain: 'recurlyjsdemo-test'
- , currency: 'USD'
- , country: 'US'
+ , currency: 'GBP'
+ , country: 'GB'
, VATPercent: 10
});
Recurly.buildSubscriptionForm({
target: '#recurly-subscribe'
- , planCode: 'simpleplan'
- , addressRequirement: 'full'
- , successURL: 'confirmation.html?{*}'
+ , planCode: 'complexplan'
+ , successURL: 'confirmation.html
});
</script>
View
2  examples/one_time_transaction.html
@@ -19,7 +19,7 @@
Recurly.buildTransactionForm({
target: '#recurly-transaction'
, amountInCents: 5000
- , successURL: 'confirmation.html?acc={account_code}'
+ , successURL: 'confirmation.html'
, signature: '83634a130e340191abca714d7391da48ece7bfd2-0'
// Signature must be generated server-side with sign_transaction()
// Without it the request will be rejected.
View
6 examples/subscribe.html
@@ -12,15 +12,13 @@
Recurly.config({
environment: 'sandbox'
, subdomain: 'recurlyjsdemo-test'
- , currency: 'GBP'
- , country: 'GB'
- , VATPercent: 10
+ , currency: 'USD'
+ , country: 'US'
});
Recurly.buildSubscriptionForm({
target: '#recurly-subscribe'
, planCode: 'simpleplan'
- , addressRequirement: 'zipstreet'
, successURL: 'confirmation.html'
, distinguishContactFromBillingInfo: true
});
Please sign in to comment.
Something went wrong with that request. Please try again.