View Single Post
Old 11-06-2013, 12:18 AM
  bullfrog's Avatar 
bullfrog bullfrog is offline

Join Date: Oct 2004
Location: Oregon, USA
Posts: 366

Default Re: Error code 10413

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 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.
Bullfrog ~~~ X-Cart Gold v4.7.2 (2) v4.7.8. ⌠If the road is easy, you're likely going the wrong way.■ ― Terry Goodkind
Reply With Quote