A guide to passing variables via query string.

The Donations form can accept two types of input parameters that allow you to pass and pre-populate donor and donation details from any page.

The Donations module form page URL can accept input parameters that allow you to pass and pre-populate donor details from links external to raisin.

Donation

The follow details related to a donation can be passed:

  • amt - a decimal or integer number specifying a donation Amount
  • it - an integer number specifying donation Frequency, where values are:

1 = One-time Donation
4 = Monthly Donation

  • dt - an integer number specifying the donation Type (or tab), where values are:

1 = General
2 = In Honour
3 = In Memory

  • fd = an integer number specifying the Fund ID (Fund ID is found in General Setup)

Please note:

  • Amount and IT are both required when added.
  • This functionality is available for the Donations module only.

Donor Information

The following details pertaining to a donor can be passed:

  • fn - First Name of donor in string format
  • ln - Last Name of donor in string format
  • em - Email of donor in string format
  • pc - Postal Code/ZIP in string format
  • cf1 - Custom Field 1 in string format

Sample URL

For example, to pre-populate $50.00 for a one-time, tribute (In Memory) donation, the following string would be used:
https://test.akaraisin.com/ui/donate/donations/start?it=1&dt=2&amt=50

For your campaign, replace test with your subdomain and donate with your event Custom Page URL.

Demonstration

To demonstrate, check out this 30-minute video guide: