![]() |
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? |
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. |
Re: X-payments problem after server change
Hi Jeff,
X-Payments 3.x has not been adapted for PHP7.3 yet. |
Re: X-payments problem after server change
Quote:
What is the latest version of PHP that is compatible with X-Payments 3.x? |
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:
|
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?! |
Re: X-payments problem after server change
Quote:
|
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. |
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:
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 |
All times are GMT -8. The time now is 05:44 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.