Donation API: designated.X.amount with 0.00 value returns error

Options

I'm having some issues with the donation API. It seems as though if i put a designated.1.amount = value and a designated.2.amount = value (for instance) that both must have a value greater than zero! Am I going to have to scrub the submit with javascript to keep desginated fields that they didn't give to from posting to the API?

For example, I get the following error back when only the designated.1 is set, if designated.2 has a "0.00", I still get the following error:

Error: The expected designated giving amount in parameter 'designated.2.amount' is missing or incorrect: "0.00"

Changing my designated.2. value to even a 0.01 fixes the issue

Tagged:

Categories