Skip to main content

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.

ParameterTypeDescription
amountdecimalPreselected amount (e.g. 25.00)
frequencyintegerFrequency: 0 = one-time, 12 = monthly
legal_personstringType of person: INDIVIDUAL or COMPANY
first_namestringFirst name
last_namestringLast name
emailstringEmail address
phonestringPhone
mobilestringMobile
business_namestringCompany name (for legal entities)
ssnstringTax code
vatstringVAT number
addressstringAddress
citystringCity
localitystringProvince / locality
postal_codestringPostal code
countrystringCountry
supporter_idintegerID of an existing supporter. If provided, the personal fields above are ignored
cost_exampleUUIDID of a preselected cost example
cost_example_quantityintegerQuantity for the cost example (must be > 0)
tags[]arrayTags 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>