Luminate API Questions - invalid donation amount and invalid donation format

Options

First Question

When I was attempting to push through convio I was receiving two

errors; invalid donation amount (below) and invalid donation format.

What format does it have to be and which API field is best for

processing the donation(assuming other_amount based on the

documentation)

stdClass Object

(

[reason] => UNSPECIFIED

[code] => 101

[pageError] => Error: Invalid donation amount. Please try again.

[message] => Error: There was a problem encountered while

processing your donation.

)

Second

According to the API there needs to be a shadow form in the backend to

relay back to. What settings need to be set(if any) to have a variable

donation amount?


Any help would be appreciated!!

Tagged:

Comments

  • Dina Zawaski:

    First Question

    When I was attempting to push through convio I was receiving two

    errors; invalid donation amount (below) and invalid donation format.

    What format does it have to be and which API field is best for

    processing the donation(assuming other_amount based on the

    documentation)

    stdClass Object

    (

    [reason] => UNSPECIFIED

    [code] => 101

    [pageError] => Error: Invalid donation amount. Please try again.

    [message] => Error: There was a problem encountered while

    processing your donation.

    )

    Second

    According to the API there needs to be a shadow form in the backend to

    relay back to. What settings need to be set(if any) to have a variable

    donation amount?


    Any help would be appreciated!!

    Dina,


    The first thing I'll note is that your code suggests you're calling the API through some server-side code. Note that this is not allowed with the donate method (or any other API method that accepts payment information) for PCIDSS compliance -- requests to the donate method must be made client-side.


    When you're passing a variable amount, you pass the level_id of the "User-entered amount" donation level from your shadow form along with other_amount.

Categories