View Single Post
  #4  
Old 06-26-2013, 05:28 AM
  random's Avatar 
random random is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 79
 

Default Re: Error code 10413

Quote:
Originally Posted by abbieroad
Thanks for your response Vladimir...attached is a screen shot of the checkout page and then the error. Let me know if you need anything else. Yes, we did have the gift wrap option available, but not selected. Also, we did turn off the gift wrap option and tried it again and it worked.

This seems to be a known bug, which is going to be corrected in next X-Cart release.

Please apply the following change to fix it:

Open file
modules/XPayments_Connector/xpc_func.php

Find line
Code:
if (!empty($cart['giftwrap_cost'])) {

And change it to

Code:
if (!empty($cart['giftwrap_cost']) && !empty($cart['need_giftwrap']) && $cart['need_giftwrap'] == 'Y') {
__________________
Sincerely yours,
Vladimir Petrov
Senior X-Payments Developer
Reply With Quote