| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
X-payments problem after server change | |||
|
|
Thread Tools |
#1
|
|||||||
|
|||||||
X-payments problem after server change
We migrated to a new server with PHP 7.3 and other updates.
Whenever we try to process an order, we get 'Error: The card information entered is not valid. Please check and try again.' This is happening on version 3.1.4 and 3.1.5. It looks like the Luhn calculation is failing every time even with valid card numbers? Do you have any suggestions as to what server settings we might look to to determine why this problem occurs?
__________________
X-Cart version 4.7.12 |
|||||||
#2
|
|||||||
|
|||||||
Re: X-payments problem after server change
OK - I think I can get past the problem by basically disabling the Luhn calculation/verification.
By following the error logs, I got to "lib/XPay/VSNode/StringRegExp.php file (67:preg_match)" and basically can get past the problem by just removing the exclamation point (!) in that line. As best I can tell, PHP 7.3 changes the behavior of preg_match a bit, and while I don't know how to trace the test backwards, I think that the formatting of the test is the issue here.
__________________
X-Cart version 4.7.12 |
|||||||
#3
|
|||||||||
|
|||||||||
Re: X-payments problem after server change
Hi Jeff,
X-Payments 3.x has not been adapted for PHP7.3 yet.
__________________
Sincerely yours, Alex Mulin VP of Business Development for X-Cart X-Payments product manager |
|||||||||
#4
|
|||||||
|
|||||||
Re: X-payments problem after server change
Quote:
What is the latest version of PHP that is compatible with X-Payments 3.x?
__________________
X-Cart version 4.7.12 |
|||||||
#5
|
|||||||||
|
|||||||||
Re: X-payments problem after server change
v7.2.x
https://www.x-payments.com/help/X-Payments:System_requirements_for_X-Payments_3 Quote:
__________________
Sincerely yours, Alex Mulin VP of Business Development for X-Cart X-Payments product manager |
|||||||||
#6
|
|||||||
|
|||||||
Re: X-payments problem after server change
We just received a message from x-cart that says:
"Multiple severe vulnerabilities (https://www.cisecurity.org/advisory/multiple-vulnerabilities-in-php-could-allow-for-arbitrary-code-execution_2019-087) have been discovered in all supported PHP branches. Most of the hosting companies have already upgraded their servers to PHP7.3.9 and some of them are still in the process. We can patch it up for you, but first we have to examine your store to figure out which way. Please contact us for the details." How do we upgrade to PHP7.3.9 if x-payments is not compatible with php7.3?!
__________________
X-Cart version 4.7.12 |
|||||||
#7
|
|||||||||
|
|||||||||
Re: X-payments problem after server change
Quote:
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#8
|
|||||||||
|
|||||||||
Re: X-payments problem after server change
Quote:
Actually, you do not have to upgrade to the latest PHP 7.3.x. Upgrading to latest PHP 7.2.x is acceptable solution, too. i.e. --- SYSTEMS AFFECTED: … PHP 7.2 versions prior to 7.2.22 --- means you can upgrade to PHP 7.2.22 to have fixes applied.
__________________
Sincerely yours, Alex Mulin VP of Business Development for X-Cart X-Payments product manager |
|||||||||
#9
|
|||||||
|
|||||||
Re: X-payments problem after server change
I'm on the newest version of xpayments (3.1.6) and still getting the same preg_match error as the other user here.
7.3 has been out for over a year now, when is this going to be fixed? Code:
|
|||||||
|
|||
X-Cart forums © 2001-2020
|