This problem came up after I switched to PayPal Pro in October. I have one store using gift certificates. It is X-Cart 4.5.0 charging thru X-Payments 1.0.5.
If the gift certificate pays the total bill, no problem (does not go to PayPal).
If a customer pays part by gift certificate and part by credit cart, an error message comes up:
Reason: Field format error: 10413-The totals of the cart item amounts do not match order amounts.
The error seems similar to the problem above involving gift wrap, but my version of
xpc_func.php is not the same.
payment details.jpg error_message.jpg
I did not see anything about this in the bug tracker. Any ideas? Gift wrap is not used.
======================================
FOLLOW UP and resolution:
This bug is in the bug tracker at
http://bugtracker.qtmsoft.com/view.php?id=42771. I did not use it originally because the fix is listed for gift wrapping, not gift certificates, and the error message or error number was not part of the post. Also, the previous posts are not good at identifying which X-Cart and X-Payment versions are involved. The problem does not seem to be related to the X-Payments version.
If anyone reading this is using X-Cart 4.5.0 or 4.5.1, and are using PayPal Pro and either gift wrapping or gift certificates, and encounter problems, this patch should help.