Matt Bradley Posted October 27, 2022 Share Posted October 27, 2022 Usually, this work fine, but for some reason, the API is refusing to pay one particular invoice, claiming that we are attempting to overpay the invoice. Request: [contact_payment] => ( [transaction_type_id] => CUSTOMER_RECEIPT [contact_id] => 934b56e8d85e43efbf5815629eaac44f [bank_account_id] => 4a7ee3e64df74deab20633d2e4d9af64 [date] => 2022-10-11T00:00:00+01:00 [total_amount] => 1497.36 [reference] => DA60235 [payment_method_id] => CREDIT_DEBIT [allocated_artefacts] => ( [0] => Array ( [artefact_id] => 23c914ddacc641f4b08d629e623abbab [amount] => 1497.36 ) ) ) Response: [$severity] => error [$dataCode] => RecordInvalid [$message] => You cannot overpay invoices. [$source] => base [friendlyErrorMessage] => You cannot overpay invoices. Except that the invoice amount is 1497.36, and it is entirely unpaid. Link to comment Share on other sites More sharing options...
Steel, Mark Posted October 27, 2022 Share Posted October 27, 2022 Hi Matt, Is this for the same business we're currently investigating issues for? The only time i've seen this occur is when the customer is a non base customer and there's some rounding conflict in the base amounts. We'd need permission from the business owner to take a look at the data. [email protected] Thanks Mark Link to comment Share on other sites More sharing options...
Matt Bradley Posted October 28, 2022 Author Share Posted October 28, 2022 Hi Mark, Yes. Same customer! Link to comment Share on other sites More sharing options...
Matt Bradley Posted October 28, 2022 Author Share Posted October 28, 2022 Oddly, We've just retried this API call, and it went through this time. May have been a transient error. Link to comment Share on other sites More sharing options...
Steel, Mark Posted October 28, 2022 Share Posted October 28, 2022 Thanks for the update - We've been able to locate the other 500 errors and are awaiting resource to investigate. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now