NewPath-Consulting / quickbooks-for-wildapricot

QuickBooks for Wild Apricot - Never miss an entry and have peace of mind knowing your books are always up-to-date with accurate transactions. Reduce stress and errors with automated, categorized entries from Wild Apricot to your QuickBooks accounts.
https://newpathconsulting.com/waqm
Apache License 2.0
1 stars 1 forks source link

Carriage return in Donation Comment causes QBO failure #113

Open thelontx opened 1 year ago

thelontx commented 1 year ago

HOC has a Donation that failed for QBO Sales Receipt creation. The error message from QBO was: ValidationFault: Request has invalid or unsupported property (Property Name:Cannot construct instance of com.intuit.schema.finance.v3.SalesReceipt (although specified is unsupported or invalid)

After investigation, it was found that there is a carriage return in the Donation comment field. This carriage return is likely causing the issue.

A similar issue was resolved in the other transactions. There is a technique to take a text block and remove specified characters from it. Use the same technique on Donation Comment fields as well.