I create a ReceivePayment record for $100, it syncs to QB and has the following data:
RecordID: 20
TxnID: 141-1416927432
Then I create an ARRefundCreditCard record with a TotalAmount of $20 and an ARRefundCreditCardAppliedToTxn record with a TxnRecordID of 20 and a TxnType of 'ReceivePayment'.
The records are all created ok in Method, but when it tries to sync to Quickbooks, I'm getting this error in "Resolve Conflicts":
QuickBooks returned an error when adding/modifying a accARRefundCreditCard record. The error was: Object "141-1416927432" specified in the request cannot be found.
. The Request was: <?xml version="1.0" encoding="windows-1252" ?> <?qbxml version="12.0" ?> <QBXML><QBXMLMsgsRq onError="stopOnError"><ARRefundCreditCardAddRq
requestID="qx_1"><ARRefundCreditCardAdd><CustomerRef><ListID>8000001B-1416927211</ListID></CustomerRef><RefundFromAccountRef><ListID>80000025-1374196855</ListID>
</RefundFromAccountRef><ARAccountRef><ListID>80000024-1372873729</ListID></ARAccountRef><TxnDate>2014-11-25</TxnDate><PaymentMethodRef><ListID>80000005-1372615751
</ListID></PaymentMethodRef><RefundAppliedToTxnAdd><TxnID>141-1416927432</TxnID><RefundAmount>20.00</RefundAmount></RefundAppliedToTxnAdd></ARRefundCreditCardAdd>
</ARRefundCreditCardAddRq></QBXMLMsgsRq></QBXML>
Like the payment transaction can't be found, but it's definitely there in Quickbooks, and the TxnID seems to be correct, because when I create a refund for that transaction in Quickbooks, it syncs correctly up to Method and the ARRefundCreditCardAppliedToTxn shows that same value of "141-1416927432" in the TxnID column.