Skip to content

Instantly share code, notes, and snippets.

@fastfrwrd
Last active December 30, 2015 23:28
Show Gist options
  • Save fastfrwrd/7900575 to your computer and use it in GitHub Desktop.
Save fastfrwrd/7900575 to your computer and use it in GitHub Desktop.
OneID QuickDonate config options
amounts: will show up as pre-selected bubbles on donate-amount.hgn
extraFields: self-explanatory
fallbackUrl: the page that will be shown if user is on an unsupported browser
minDonation: minimum amount a donor can give
maxDonation: maximum amount a donor can give
terms: HTML to be rendered as Terms of Service on donate-payment and donate-confirm
demoMode: bypasses payment
{
"amounts": [20, 35, 50, 100, 250, 1000],
"extraFields": {
"employer": false,
"cvv": false,
"street2": false,
"phoneRequired": false
},
"fallbackUrl": "http://website.com/form.html",
"minDonation": 5,
"maxDonation": 2550,
"terms": "Terms of service go here.",
"demoMode": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment