Are premiums supported via the Donations API?

Options

And I found some documentation (Dave Hart’s PP presentation used in 12/9/2008 seminar on using the Donation API-- http://community.customer.convio.com/docs/DOC-2025) that says that premiums are not supported via the Donations API. Is this still the case? Thanks!

Tagged:

Comments

  • Corey Pudhorodsky:

    >

    Are there any examples of forms with premiums or documentation on using premiums with the API?

    If not, can you please verify that this would be the correct way to set a radio button with a premium (assuming the premium's ID is 1741):

    <input type="radio" name="premium_id" id="premium_id1741" value="1741" class="PremiumSelectorRadio" />

    Thanks!

  • Heather Finn:

    Are there any examples of forms with premiums or documentation on using premiums with the API?

    If not, can you please verify that this would be the correct way to set a radio button with a premium (assuming the premium's ID is 1741):

    <input type="radio" name="premium_id" id="premium_id1741" value="1741" class="PremiumSelectorRadio" />

    Thanks!

    I think you'll want to use something more link the following:


    <select name="premium_id" id="premium_id" size="1" >

    <option value="-1" class="prompt" >

    -- Please Make a Selection --

    </option>

    <option value="0" >

    No Premium

    </option>

    <option value="1001" >

    Shirt

    </option>

    <option value="1002" >

    Hat

    </option>

    </select>

    Where the values 1001 and 1002 match the IDs of the premiums in the form. The best way to make sure you're passing the proper values is probably to view the source of the ghost donation form you are posting the data to via the API.

  • I've got the premium selection part working - I think - but I can't get the shipping address validated separate from the billing address.

    I would also love a sample of a donation form with all of the bells & whistles included.

Categories