Hello,
I am having an issue with Raiser Edge NXT when making a gift POST through the API for a pledge payment installment when the gift amount is greater than the installment amount.
Also, there is a similar issue when a person gives more than what they pledge, there is an error that the amount is greater than the pledge.
The POST method works fine if the amount is equal to or less than the installment amount.
For example not all pledged amounts are divisible by the number of installments. A $130 pledge with monthly giving would make 12 pledge installments each installment needs to be about $10.83. But a person might give $11 each month. Making their gift be greater than the pledge installment amount and the total given to the pledge greater than the pledged amount.
End Point: gft-gifts/v2/gifts
Gift Type: Pledge Installment
Exception Message:
"There were issues with the contract:\nA request was made to apply a payment to an installment with ID 1234 , but the total amount applied would cause the installment balance to be less than zero.","error_name":"GiftArgumentNotValid","error_code":16,"raw_message":"There were issues with the contract:\nA request was made to apply a payment to an installment with ID 1234, but the total amount applied would cause the installment balance to be less than zero."}]
Does Raiser Edge NXT not support people giving more than their installment amount or pledge amount?
One solution I can think of is to get the next pledge installment and calculate how much can go towards that installment and then put the rest towards the following installment but this does not solve the issue if someone gives more than their pledge.