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') {