This method initiates processing of a donation through an external payment processor (PayPal, Amazon, or Blackbaud MobilePay).
Client Servlet | Server Servlet | HTTP Methods Supported | Requires Authentication |
---|---|---|---|
CRDonationAPI | None. | POST | No. |
2021 Update: You can now provide Google reCAPTCHA v3 protection on your API-based donation form. See Secure donations with Google reCAPTCHA v3 in our new Luminate Online API site.
This method allows you to process a donation through Amazon, PayPal, or Blackbaud MobilePay. To use it, you must have a gateway to your Amazon, PayPal, or Blackbaud MobilePay account set up in your Luminate Online merchant account configuration. Also, the shadow donation form you reference by the form_id parameter must allow payments through the external payment processor gateway.
For the most part, the startDonation method takes the same input parameters, functions the same way, and returns the same response data as the donate method. It supports the same types of transactions. There are a few differences:
The external payment processor may return billing and/or shipping address information for the transaction, in which case the returned data will override any information you provided when calling startDonation.
This method works by redirecting the user to the external payment processor's payment gateway, which then redirects to another URL on Luminate Online to complete the transaction. For additional information on the information returned by a completed transaction, refer to the donate method.
If you are hosting the donation page on an external domain, you must obtain a valid session cookie from your site's Luminate Online secure domain before calling startDonation. The session cookie allows Luminate Online to associate the authorization response from the payment processor with the donation context created by startDonation. You can obtain a session cookie by embedding a PixelServer image somewhere in the page, for example:
<img src="https://secure2.convio.net/myorg/site/PixelServer" />
The PixelServer URL is the same as the secure site URL for the startDonation method.
See topic Common Parameters.
Required. The billing address of the credit card owner. If not supplied, defaults to donor.address.city.
Type xsd:string.
Required. The billing address of the credit card owner. If not supplied, defaults to donor.address.state.
Type xsd:string.
Required. The billing address of the credit card owner. If not supplied, defaults to donor.address.street1.
Type xsd:string.
Required. The billing address of the credit card owner. If not supplied, defaults to donor.address.zip.
Type xsd:string.
Required. The billing name of the credit card owner. If not supplied, defaults to donor.name.first.
Type xsd:string.
Required. The billing name of the credit card owner. If not supplied, defaults to donor.name.last.
Type xsd:string.
Required. The donor's email address.
Type xsd:string.
Required. The value designating which external payment processor to use.
Type xsd:string.
Required. The ID of the donation form.
Type xsd:nonNegativeInteger.
Required. The ID of the donation level.
Type xsd:nonNegativeInteger.
Optional. ACH account type (CHECKING/SAVINGS).
Type xsd:string.
Default is CHECKING.
Optional. ACH bank number (Canada).
Type xsd:string.
Optional. ACH transit number (Canada).
Type xsd:string.
Optional. Donation amount in addition to level amount.
Type xsd:string.
Optional. Whether to mark the donation as "anonymous".
Type xsd:boolean.
Optional. The billing address of the credit card owner.
Type xsd:string.
Optional. The billing address of the credit card owner.
Type xsd:string.
Optional. The billing address of the credit card owner.
Type xsd:string.
Optional. The billing address of the credit card owner.
Type xsd:string.
Optional. The billing name of the credit card owner.
Type xsd:string.
Optional. The billing name of the credit card owner.
Type xsd:string.
Optional. The billing name of the credit card owner.
Type xsd:string.
Optional. The billing name of the credit card owner.
Type xsd:string.
Optional. Credit card type
Type xsd:string.
Optional. The amount of a donation to designate to a designee. The "X" part of the parameter must be an integer used to correspond to designated.X.id or, in the case of write-in designations, designated.X.name and designated.X.contact. This allows multiple pairs of ID/amount for multiple designations.
Type xsd:nonNegativeInteger.
Optional. The ID of a designee to which to designate all or part of a donation. The "X" part of the parameter must be an integer used to correspond to designated.X.amount. This allows multiple pairs of ID/amount for multiple designations.
Type xsd:nonNegativeInteger.
Optional. The amount of a donation to designate to a designee. The "X" part of the parameter must be an integer used to correspond to designated_write_in.X.name and designated_write_in.X.contact. This allows multiple pairs of ID/amount for multiple designations.
Type xsd:nonNegativeInteger.
Optional. The contact information of an organization to which to designate all or part of a donation. The "X" part of the parameter must be an integer used to correspond to designated_write_in.X.name and designated_write_in.X.amount. This allows multiple sets of name/contact/amount for multiple designations.
Type xsd:string.
Optional. The name of an organization to which to designate all or part of a donation. The "X" part of the parameter must be an integer used to correspond to designated_write_in.X.contact and designated_write_in.X.amount. This allows multiple sets of name/contact/amount for multiple designations.
Type xsd:string.
Optional. The donor's address.
Type xsd:string.
Optional. The donor's address.
Type xsd:string.
Optional. The donor's address.
Type xsd:string.
Optional. The donor's address.
Type xsd:string.
Optional. The donor's address.
Type xsd:string.
Optional. The donor's address.
Type xsd:string.
Optional. The donor's address.
Type xsd:string.
Optional. The donor's address.
Type xsd:string.
Optional. The donor's email opt-in selection.
Type xsd:string.
Optional. The donor's employer.
Type xsd:string.
Optional. The donor's name.
Type xsd:string.
Optional. The donor's name.
Type xsd:string.
Optional. The donor's name.
Type xsd:string.
Optional. The donor's name.
Type xsd:string.
Optional. The donor's name.
Type xsd:string.
Optional. The donor's name.
Type xsd:string.
Optional. The donor's occupation.
Type xsd:string.
Optional. The donor's phone number.
Type xsd:string.
Optional. The type of the donor's phone number .
Type xsd:string.
Optional. Whether to send a copy of the e-card to the sender.
Type xsd:boolean.
Optional. The unique ID of the pre-defined Luminate Online e-card template to use.
Type xsd:nonNegativeInteger.
Optional. The message body of the e-card.
Type xsd:string.
Optional. The email addresses of intended e-card recipients (RFC-5322 format) e.g. 'John Doe, Jane Roe'.
Type xsd:string.
Optional. Whether or not to send an e-card recognizing the gift.
Type xsd:boolean.
Default is false.
Optional. Date to send the e-card (ISO 8601 format) e.g. '2009-12-31'.
Type xsd:date.
Optional. The subject of the e-card.
Type xsd:string.
Optional. Specifies a URL that the method should redirect to on an error response from the external payment processor.
Type xsd:anyURI.
Optional. Specifies the ID of the Facebook donation associated with this donation.
Type xsd:string.
Optional. Specifies a URL that the method should redirect to on a success response from the external payment processor.
Type xsd:anyURI.
Optional. Specifies the ID of the TeamRaiser event associated with this donation.
Type xsd:nonNegativeInteger.
Optional. Gift aid status (UK Only).
Type xsd:string.
Optional. The duration of an installment plan donation, which is the number of payments that the donation is divided into. To make an installment plan donation, both installment.frequency and installment.duration must be specified.
Type xsd:nonNegativeInteger.
Optional. The frequency of an installment plan donation, which is the interval between payments. To make an installment plan donation, both installment.frequency and installment.duration must be specified.
Type crm:donationSustainingFrequency.
Optional. The name of a joint donor.
Type xsd:string.
Optional. The name for a joint donor.
Type xsd:string.
Optional. The name for a joint donor.
Type xsd:string.
Optional. The name for a joint donor.
Type xsd:string.
Optional. The name for a joint donor.
Type xsd:string.
Optional. Whether or not the "recurring gift" option on the Donation Level shadow form should be selected. Valid only for Level shadow forms on which a recurring gift option has been defined.
Type xsd:boolean.
Default is false.
Optional. Whether or not the donation is eligible for a matching gift.
Type xsd:boolean.
Optional. The name of the organization on whose behalf donor is making the gift.
Type xsd:string.
Optional. User specified donation amount.
Type xsd:string.
Optional. Unique ID of premium.
Type xsd:nonNegativeInteger.
Optional. Premium option.
Type xsd:string.
Optional. Whether to set a log-in cookie.
Type xsd:boolean.
Optional. Whether to send a receipt email to the donor. The default behavior is to send a receipt.
Type xsd:boolean.
Default is true.
Optional. If a new constituent record is created for the donor, this specifies whether to send a registration "welcome" email to the donor. The default behavior is to send it.
Type xsd:boolean.
Default is true.
Optional. Shipping address for premium.
Type xsd:string.
Optional. Shipping address for premium.
Type xsd:string.
Optional. Shipping address for premium.
Type xsd:string.
Optional. Shipping address for premium.
Type xsd:string.
Optional. Shipping address for premium.
Type xsd:string.
Optional. Shipping address for premium.
Type xsd:string.
Optional. Shipping address for premium.
Type xsd:string.
Optional. Shipping address for premium.
Type xsd:string.
Optional. Email address of the recipient.
Type xsd:string.
Optional. Premium recipient's name.
Type xsd:string.
Optional. Premium recipient's name.
Type xsd:string.
Optional. Premium recipient's name.
Type xsd:string.
Optional. Premium recipient's name.
Type xsd:string.
Optional. Premium recipient's name.
Type xsd:string.
Optional. Premium recipient's name.
Type xsd:string.
Optional. Phone number of the recipient.
Type xsd:string.
Optional. Specifies the ID of the entity to which this donation will be soft credited. This will be either the event ID, team ID, or participant (constituent) ID, depending on the value specified for soft_credit_type.
Type xsd:nonNegativeInteger.
Optional. Specifies the type of entity to which this donation will be soft credited. Donations that specify a soft credit type must also specify a soft_credit_id value.
Type xsd:string.
Optional. The type of donation summary to return. There are three options:'data' returns a structured list of information about every form field; 'page' returns the HTML content (within the "body" element) of the "Thank you" page shown after donations via web page; 'both' returns both types of summary.
Type xsd:string.
Optional. The duration of a sustaining donation, which is the interval between payments. Specify zero to indicate that the donation should repeat indefinitely. To make a sustaining donation, both sustaining.frequency and sustaining.duration must be specified.
Type xsd:nonNegativeInteger.
Optional. The frequency of a sustaining donation, which is how often the donation is repeated. To make a sustaining donation, both sustaining.frequency and sustaining.duration must be specified.
Type crm:donationSustainingFrequency.
Optional. If this donation is a TeamRaiser Gift, the body of the message to send to the TeamRaiser participant.
Type xsd:string.
Optional. If this donation is a TeamRaiser Gift, the recognition name.
Type xsd:string.
Optional. If this donation is a TeamRaiser Gift, whether or not to the TeamRaiser gift is publicly visible.
Type xsd:boolean.
Optional. Whether the tribute honoree is deceased. If set, it overrides "tribute.type" by setting it to "memorial" if true (deceased) and "tribute" if false (not deceased).
Type xsd:boolean.
Optional. The first name of the person to honor with the tribute. Takes precedence over tribute.honoree.name.full.
Type xsd:string.
Optional. The full name of the person to honor with the tribute. Only used if the first and last names are not specified.
Type xsd:string.
Optional. The last name of the person to honor with the tribute. Takes precedence over tribute.honoree.name.full.
Type xsd:string.
Optional. The name title of the person to honor with the tribute.
Type xsd:string.
Optional. The body of the tribute notification message.
Type xsd:string.
Optional. The closing of the tribute notification message.
Type xsd:string.
Optional. Whether to include the donation amount in the tribute notification message.
Type xsd:boolean.
Optional. The signature of the tribute notification message.
Type xsd:string.
Optional. The address of the person to notify of the tribute.
Type xsd:string.
Optional. The address of the person to notify of the tribute.
Type xsd:string.
Optional. The address of the person to notify of the tribute.
Type xsd:string.
Optional. The address of the person to notify of the tribute.
Type xsd:string.
Optional. The address of the person to notify of the tribute.
Type xsd:string.
Optional. The address of the person to notify of the tribute.
Type xsd:string.
Optional. The address of the person to notify of the tribute.
Type xsd:string.
Optional. The address of the person to notify of the tribute.
Type xsd:string.
Optional. The full name of the person to notify of the tribute.
Type xsd:string.
Optional. The name title of the person to notify of the tribute.
Type xsd:string.
Optional. The type of tribute.
Type xsd:string.
Optional. Whether to enforce validation of every field according to the specification in the ghost form ("true" or "false"). Some validation is always in effect, such as ensuring that the campaign, form, and level IDs reference published entities and that there is sufficient information to process the transaction.
Type xsd:boolean.
Default is false.
Required when using reCAPTCHA v3 protection on the donation form. Use the getDonationFormInfo method to retrieve a publicKey for the Google reCAPTCHA v3 library. Include the publicKey value with this parameter.
Type xsd:string.
See topic HTTP Status Codes.
XML responseJSON response<?xml version="1.0" encoding="UTF-8"?> <donationResponse xsi:schemaLocation="http://convio.com/crm/v1.0 http://service.convio.net/xmlschema/crm.public.v1.xsd" xmlns="http://convio.com/crm/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <redirect> <url>https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&amp;token=EC-4PM50326PB7342636</url> </redirect> </donationResponse>
{"donationResponse":{"redirect":{"url":"https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-4PM50326PB7342636"}}}