Why did I get API error code 10525?
PayPal returned API error code 10525 - This transaction cannot be processed. The amount to be charged is zero.
Cause
In a Direct Payment API call, the transaction has a zero value passed in as a parameter.
Solution
Here's how to resolve this issue:
- Review your API call to ensure a value or $0.01 or more is being submitted in your API call.
- Use
BillingType=RecurringPayments
/MerchantInitiatedBilling
instead of creating a Recurring Profile/Billing Agreement ID with no dollar amount. - For DCC (Direct Credit Card), the TRXTYPE should be A for zero for a dollar authorization.
Was this article helpful?