X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   X-Payments issues & questions (https://forum.x-cart.com/forumdisplay.php?f=50)
-   -   qualiteam PLEASE HELP!!!! (https://forum.x-cart.com/showthread.php?t=62997)

ambal 03-28-2012 03:29 AM

Re: qualiteam PLEASE HELP!!!!
 
Kevin, I know.

Lucas, please contact our techs for patch for your X-Cart version using http://secure.qtmsoft.com

kevinrm 03-28-2012 04:18 AM

Re: qualiteam PLEASE HELP!!!!
 
Hi,

As per my signature, it's 4.4.5 Gold. This appears on one page checkout when customer is from a country without states, and when they pay by PayPal Express. Several Finland customers try to checkout and get error in upper right corner saying incorrect state, but then again, on the lefthand side where the customer is to fill out their address, the "State" field is blanked out because Finland has no states. It's a catch-22, they get "stuck" and can't checkout. I got around the issue by following previous poster's advice and forcing Finland to have states but this is not correct.

cflsystems 03-28-2012 07:15 AM

Re: qualiteam PLEASE HELP!!!!
 
Alex first congrats on your new position

The fix provided for 4.4.5 will not work - the original code is different. This is 4.4.5

Code:

        foreach ($address_fields as $field => $def_value) {
            $result[$addressIndex][$field] = (
                isset($user_info[$prefix . $field])
                && !empty($user_info[$prefix . $field])
            )
                ? $user_info[$prefix . $field]
                : (
                    !empty($user_info[$field])
                        ? $user_info[$field]
                        : $def_value
                );
        }


For other 4.4.x versions - yes what you posted is what the code is. Can you please check on 4.4.5 and repost. Thanks

ambal 03-29-2012 12:24 AM

Re: qualiteam PLEASE HELP!!!!
 
Steve,

> The fix provided for 4.4.5 will not work - the original code is different.
> This is 4.4.5

The issue is fixed in 4.4.5 and you don't need to apply the patch there.

The patch for for X-Cart 4.4.x versions before 4.4.5

cflsystems 03-29-2012 09:16 AM

Re: qualiteam PLEASE HELP!!!!
 
Thanks for clarifying

finestshops 06-29-2012 06:13 AM

Re: qualiteam PLEASE HELP!!!!
 
Hi guys,

we had the same problem with one of our client's stores and this fix worked for 4.3:

open

/modules/XPayments_Connector/xpc_func.php

find this code:

Code:

!empty($user_info[$field])
                        ? $user_info[$field]
                        : ''


change to

Code:

!empty($user_info[$field])
                        ? $user_info[$field]
                        : 'None'



All times are GMT -8. The time now is 06:57 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.