Infusionsoft / Keap getting Method Matching error for chargeInvoice request (Solved!)

infusionsoft-chargeInvoice

The Problem Receiving this error: [critical] Uncaught PHP Exception Infusionsoft\Http\HttpException: “No method matching arguments: java.lang.String, java.lang.Integer, java.lang.Boolean, java.lang.String, java.lang.String, java.lang.Boolean” at …/vendor/infusionsoft/php-sdk/src/Infusionsoft/Http/InfusionsoftSerializer.php …” The Infusionsoft XML-RCP documentation says the notes parameter should be a string (https://developer.infusionsoft.com/docs/xml-rpc/#invoice-pay-an-invoice) but in fact it is expecting a boolean value. The Solution Instead of sending a string, I changed it… read more »