Donation API requires "donor" information when a premium is selected

Options

I'm trying to set up a donation form with premiums using the Donations API. In the past, I have successly used the API on a form without premiums. For some reason my form with premiums always returns the following errors upon submission:


<?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">
<errors>
<code>101</code>
<message>Error: There was a problem encountered while processing your donation.</message>
<reason>FIELD_VALIDATION</reason>
<pageError>There was a problem processing your request. Please see below.</pageError>
<fieldError>Donor street address is required.</fieldError>




<fieldError>Donor last name is required.</fieldError>
<fieldError>Donor state or province is required.</fieldError>
<fieldError>Donor city is required.</fieldError>
<fieldError>Donor first name is required.</fieldError>
<fieldError>Donor zip or postal code is required.</fieldError>
</errors>




</donationResponse>


The ghost form has Billing and Shipping Information fields but no Donor Information fields (this is how the form without premiums worked). If I add Donor Information fields and mark them as not required, I get the errors above TWICE (e.g. <fieldError>Donor street address is required.</fieldError> is there twice because now the Donor Street Address field is blank).

Do premiums require the "Donor" fields? If so, how can I provide this information?

Thanks!

Tagged:

Categories