tsiedsma Posted January 16, 2012 Share Posted January 16, 2012 Everytime i try and use the ApplyCredit API function, I get this message: Amount Exceeds Invoice Balance That isn't true and I've double checked all my numbers. Each time it fails with that. It has to be an issue with the API function itself, the math is good but it fails everytime. 0 Quote Link to comment Share on other sites More sharing options...
HostWinds Posted January 16, 2012 Share Posted January 16, 2012 I have been getting the same error, WHMCS needs to fix this 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted February 5, 2012 Author Share Posted February 5, 2012 Can this be acknowledged or something please? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted February 9, 2012 WHMCS CEO Share Posted February 9, 2012 Hi, We can't seem to locate any problem here. The balance is worked out from the invoice total minus transactions applied + refunds. Try passing in a value of "amount=full" to have the full balance of the invoice applied from credit if available. Matt 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted February 10, 2012 Author Share Posted February 10, 2012 It appears as though the invoice id being passed to the api doesn't get recognized properly or something. It seems to work fine in my dev environment which has less than 10 customers but in two independent production environments it doesn't work right. This has been confirmed by HostWinds above. He gets the same errors. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.