Checkout prefilling
The Riseact checkout supports prefilling data via the URL query string. You can pre-populate personal fields, amount, frequency and more directly in the campaign URL.
It works both for the web checkout (direct access to the campaign URL) and for the Donation Button (embedded in a modal).
Supported parameters
Add the parameters as normal query strings to the checkout URL.
| Parameter | Type | Description |
|---|---|---|
amount | decimal | Preselected amount (e.g. 25.00) |
frequency | integer | Frequency: 0 = one-time, 12 = monthly |
legal_person | string | Type of person: INDIVIDUAL or COMPANY |
first_name | string | First name |
last_name | string | Last name |
email | string | Email address |
phone | string | Phone |
mobile | string | Mobile |
business_name | string | Company name (for legal entities) |
ssn | string | Tax code |
vat | string | VAT number |
address | string | Address |
city | string | City |
locality | string | Province / locality |
postal_code | string | Postal code |
country | string | Country |
supporter_id | integer | ID of an existing supporter. If provided, the personal fields above are ignored |
cost_example | UUID | ID of a preselected cost example |
cost_example_quantity | integer | Quantity for the cost example (must be > 0) |
tags[] | array | Tags to associate with the checkout (bracket notation: tags[]=a&tags[]=b) |
note
If supporter_id is set, all personal fields (legal_person, first_name, last_name, email, phone, mobile, business_name, ssn, vat, address, address2, city, locality, postal_code, country) are ignored, even if present in the URL.
Web checkout
https://tua-org.riseact.site/campaigns/nome-campagna/donate?email=mario.rossi@esempio.it&first_name=Mario&amount=25&frequency=0
Donation Button
<script>
(window.riseactDonateBtns = window.riseactDonateBtns || []).push({
checkoutUrl: "https://tua-org.riseact.site/campaigns/nome-campagna/donate?email=mario.rossi@esempio.it&first_name=Mario&amount=25&frequency=0"
})
</script>