Donorbox allows users to pre-fill some fields in the donation form, including the amount. You can append field values as query parameters to the donation URL used with the shortcode. Pre-filling of the following fields are supported:
- amount
- first_name
- last_name
- phone
- address
- zip_code
- default_interval: One of the following value can be used for default_interval parameter
- w - to set Weekly as default recurring option
- m - to set Monthly as default recurring option
- q - to set Quarterly as default recurring option
- a - to select Annually as default recurring option
language: Additionally, if the campaign's default language is set to "Auto-detect", you can pass the language parameter via URL to override the campaign's default language settings. The language parameter can accept one of the following values:
- da - Dansk
- de - Deutsch
- en - English
- es - Español
- fr - Français
- it - Italiano
- nl - Nederlands
- pt - Português
- br - Português (BR)
- sv - Svenska
- ja - 日本語
- zh - 简体中文
- tw - 繁體中文
Example:
or
[donate-with-info https://donorbox.org/rebel-idealist?first_name=Fname&last_name=Lname&email=user@example.com&phone=1234567890&amount=30&address=Newstreet&zip_code=54321&default_interval=m]
For more information on embedding a donation widget on a Wordpress site, please watch out step-by-step tutorial video:
Comments
3 comments
I'm trying to use recurring=true and also a preselected amount. The preselected amount works, but not the recurring. Any ideas? Wordpressblogg (uptodate) and Donorbox plugin (uptodate).
What value for "amount" highlights the blank amount field that the person can fill in themselves?
This is described as working in the WordPress embedded form, but I can't get any values to pre-fill.
Article is closed for comments.