X-Payments transfer to other server with upgraded store
I have searched all over, but I haven't found any related info concerning transferring an x-payments installation to a different server, with an upgraded x-cart store.
I am going to upgrade a 4.4.5 store to 4.6.4 and it already uses X-Payments. The upgraded store will be located in a new server. The current x-payments is hosted in the xcart root directory. I have the following questions:
|
Re: X-Payments transfer to other server with upgraded store
I would upgrade X-payments, it's easy as long as the server is setup properly.
You should have no trouble copying it and just changing the settings. No need to re-install. |
Re: X-Payments transfer to other server with upgraded store
Quote:
Quote:
|
Re: X-Payments transfer to other server with upgraded store
Quote:
Quote:
|
Re: X-Payments transfer to other server with upgraded store
Quote:
And this is wrong as X-Payments must be installed separately in its own hosting account/VPS/server in order to be PCI compliant. See http://help.x-cart.com/index.php?title=X-Cart_Payments:PCI_DSS_implementation_guide We do not recommend to install X-Payments in the same hosting space/account where you run your X-Cart shop or other software as X-Payments can be compromised via them. Quote:
You may need to adjust X-Payments config.ini.php file and shop settings in X-Payments dashboard if the new server has other IP address/domain name. Also, you may need to re-deploy configuration bundle in connected X-Cart stores due to the same reason. Quote:
X-Cart & X-Payments connection routine changed a lot in 4.6.4. Unfortunately, we haven't updated our user manual article about that yet. I am preparing a video that explains the new connection routine. Quote:
Nope, that's X-Payments API version - see http://help.x-cart.com/index.php?title=X-Payments:API Right now there are API versions 1.1, 1.2, 1.3 which are implemented in different X-Payments versions. The latest version of X-Payments v1.x is 1.0.6, the latest (at the moment) version of X-Payments 2.x is 2.1.1 New X-Cart v4.6.4 connector for X-Payments defines API version automatically. Quote:
If it is not a new deployment of X-Payments for a new web-site/business you can keep using your v1.x version. Quote:
Your new X-Cart 4.6.4 will work with your old X-Payments v1.x (i.e. it will process payments for orders of your shoppers) but it will not support new features of X-Payments 2.x. Also some of the usability improvements we added into new versions of X-cart connectors and X-Payments may not work either as they relay on using certain API calls we added into X-Payments v2.1.1. |
Re: X-Payments transfer to other server with upgraded store
Would it be feasible to run x-payments upgrade in my local WAMP server (Windows 7 platform), using something like CopSSH (OpenSSH for Windows) and eventually upload it's code and database to remote server? I guess, during final data sync, there would be both x-cart store database and x-payments database sync, repeating both upgrades, after closing live store.
That would be if ssh weren't available in remote server. As an alternative, could x-payments upgrade be run through php script? |
Re: X-Payments transfer to other server with upgraded store
> As an alternative, could x-payments upgrade be run through php script?
Actually this is what you need to do. Every owner of X-Payments 2.x downloadable license gets access to upgrade script that makes X-Payments upgrade process a lot easier. If you have X-Payments 2.x downloadable license - just check your File Area at https://secure.x-cart.com Btw, users of hosted X-Payments accounts do not need to worry about doing upgrade themselves. They can just send us a ticket requesting to do such upgrade free of charge. |
Re: X-Payments transfer to other server with upgraded store
Ok, I have moved the x-payments code and database to it's separate hosting account, in the new server, with it's own SSL and trying to connect it with the upgraded x-cart store.
In the IP addresses for X-Payments callbacks (optional) of the 'X-Payments Connector' page I have already set the IP address of the new server. Also, I have updated the 'config.ini.php' file with the new database name, database user and database password (the database is the same as the one in the old server). There are 3 issues: 1) I cannot login in the migrated x-payments back-end (https://<new x-payments hosting domain>/xpayments/admin.php), getting the usual page: Quote:
Quote:
Quote:
3) In the 'Payment methods' tab of the migrated X-Payments Connector page, in the text: Quote:
I guess, all these 3 issues are caused by the same culprit. Have I missed some setting (for example, would I need to enter in the payment gateway account settings that is linked with x-payments and change the server path there?). Do I need to do anything additional? I haven't upgraded x-payments, it is the original version (1.0.4) and trying to make it work with the upgraded store in the new server (as I have described in my previous posts). Appreciate any help. |
Re: X-Payments transfer to other server with upgraded store
Vasilis, it is really hard to say what it is wrong after you moved everything. I recommend you to get in touch with our techs via your HelpDesk account as investigation at your server is needed.
|
Re: X-Payments transfer to other server with upgraded store
I can imagine that, but is there any X-Payments migration documentation that refers to settings that need to be changed, in case the same X-Payments version is transferred to a different server? The x-cart store also is upgraded.
|
Re: X-Payments transfer to other server with upgraded store
I resolved it.
I had forgotten to add the specific user to the x-payments database. |
Re: X-Payments transfer to other server with upgraded store
Now I am getting the following message in X-Payments Connector configuration page:
Quote:
X-Cart store logs: Quote:
Nevertheless, the upgraded 4.6.4 x-cart store does communicate with the migrated x-payments to the new server, since payment methods from x-payments can be re-imported. I have to say, the only place where x-payments server IP address is defined in x-cart store admin is in the "Connection settings" tab of the X-Payments Connector configuration page, in the "IP addresses for X-Payments callbacks (optional)" setting. I cannot reach the store connection settings page, where the "X-Payment URL" setting can be set, among others. (using the 1.0.4 x-payments) Any tips on this? |
Re: X-Payments transfer to other server with upgraded store
Quote:
I have seen this recently. I believe it should clear up once you set the x-cart store to use HTTPS on checkout and payment pages and have an SSL Certificate installed. |
Re: X-Payments transfer to other server with upgraded store
Yes, it seems it is an SSL-missing issue, I am also getting the following error message, in 'Security' page, under 'HTTPS options' section.
Quote:
Actually, I have setup the upgraded store on the new server with an IP address, with a copy of x-payments in a separate hosting account, with it's own SSL, while the old-version current store runs live in the old server. In order to check x-payments connectivity in the upgraded store, before closing the current live old-version store, an SSL must also exist in the upgraded store environment, but this SSL currently is used for the live site (the old version). After the current domain points to the new server, the SSL also will be transferred to this server, so I guess, only then, I will be able to check x-payments in the upgraded store. And before this, I will close the old store and run a final database synchronization in the new server (for any recently-inserted customers, orders, etc) and also move over the final x-payments database to the x-payments new hosting account and eventually point the domain to the new server, transferring also the SSL. So, while the old store is closed and before opening the upgraded store, only then, I can test x-payments. Is there any alternative procedure so I can test x-payments before closing the old live store and without installing an additional SSL in the upgraded store environment? |
Re: X-Payments transfer to other server with upgraded store
What I did eventually is to change the HTTPS protocol from libCurl to OpenSSL. Also I applied the patch for POODLE vulnerability in SSLv3 (see this thread) and both the HTTPS/SSL check warning and the
Quote:
I presume that the X-Payments Connector works ok, although I haven't found any 'Test Module' button to run a connectivity test. |
Re: X-Payments transfer to other server with upgraded store
> although I haven't found any 'Test Module' button to run a connectivity test.
It has been removed in 4.6.4 and new connection routine is now in place - see http://help.x-cart.com/index.php?title=X-Cart:X-Payments_Connector#X-Payments_2.1.x_and_new_X-Cart_connector_modules |
Re: X-Payments transfer to other server with upgraded store
Alex, I have the old 1.0.4 X-Payments version (as stated in previous posts in this thread).
|
Re: X-Payments transfer to other server with upgraded store
Quote:
You should to upgrade to at least 1.0.6 and the new connectors work with X-Payments 1.x, too. |
Re: X-Payments transfer to other server with upgraded store
Quote:
|
Re: X-Payments transfer to other server with upgraded store
> Is the upgrade to 1.0.6 required for correct functionality of the X-Payments
> Connector in the 4.6.4 upgraded store, or can it work with 1.0.4 version? It is recommended. We did not test the new connectors with X-Payments versions earlier than 1.0.6. Besides 1.0.6 has many bug-fixes vs 1.0.4 > Does this upgrade need a payed licence? Every owner of X-Payments 1.x downloadable license has free access to all versions within 1.x branch. 1.0.6 is the last version we developed in 1.x branch. > I don't seem to find 1.0.6 version in my File Area. I advise you to contact our CR reps via your HelpDesk account regarding this. |
Re: X-Payments transfer to other server with upgraded store
Finally I upgraded 1.0.4 to 2.1.1, using
Code:
php upgrade.php 1.0.4 2.1.1 --force Code:
Error "'CODEBOOK_KEY_NOT_FOUND'" ("810"). Class: "'Model'" In the putty console, after the upgrade, it displayed: Quote:
Any tips? |
Re: X-Payments transfer to other server with upgraded store
I removed the upgraded version, re-installed the 1.0.4 version and I re-upgraded to 2.1.1 and I could enter the back-end, but now, when I click on the enabled online store to check it's details, I get:
Quote:
When I tried to re-login in the back-end, I got again Quote:
|
Re: X-Payments transfer to other server with upgraded store
You need to generate new codes.
Default codes contained in <lib/XPay/Model/Codebook.php> must be changed after the installation is done. Use maintenance script regen-codebook.php to generate a new codebook. http://help.x-cart.com/index.php?title=X-Payments:Regen-codebook.php |
Re: X-Payments transfer to other server with upgraded store
In my previous post, I wrote
Quote:
Besides, I attempted to regenerate the codebook, but I got some fatal error messages during the regen, so I cannot regenerate codebook either, nor I can login in the backend. |
Internal Error during new password setting
Just installed latest X-Payments version from scratch. All went ok during installation and got into the backend, alright.
After regenerating the codebook, and the procedure went ok, I got the last account activation email with the new pin codes. I attempt to set the new password, but I get the following page: Quote:
The logs say: errors.0001.log: Quote:
access.0001.log Quote:
I regenerated the codebook a 2nd time and again got the same error. I have followed the installation instructions to the letter. Now, what could the logic be behind this 'CODEBOOK_KEY_NOT_FOUND' message, especially since I just regenerated the codebook. Why should a key be missing, since everything is just newly regenerated? Does it make a sense? After having read almost the whole X-Payments subforum for just upgrading or installing X-Payments and getting stuck in the initial stage of X-Payments management (installation), I start to believe that it is either a VERY BUGGY software, or the documentation lacks a lot. I am impressed 8O Appreciate any help. |
Re: Internal Error during new password setting
I am really sorry to see you can't get X-Payments installed on your hosting. I am not sure what's wrong as I do not know where your X-Payments is installed and do not know details of server environment there. Feel free to PM me everything, but I advise you to post a technical support ticket using your HelpDesk account as it looks like a technical guy from our team need to go into your server and see what's wrong there.
|
Crypt_cell_is_not_detected (1311)
Have just fresh installed X-Payments 2.1.1 on a 4.6.4 store, having connected it with Authorize.NET AIM payment method.
When I submit test orders I get to the X-Payments cc form page, but I get Failed transactions, with Quote:
In the X-Payments backend, these orders are listed under "Pending" status. No reports for these transactions are created in the Authorize.NET backoffice side. In the X-Payments logs though, I see the following errors: Quote:
Any idea what this cryptic message means, or how to fix this? |
Re: X-Payments transfer to other server with upgraded store
All threads were merged as they are literally about the same issue - something wrong with your new X-Payments install.
Unfortunately, nobody can help you with that as someone needs to go into your server and see what's wrong there. Nobody else has all those issues and I am pretty sure this is either server-specific or it was a wrong upgrade or install. Anyways, a tech need to go into your servers and check there. |
Re: X-Payments transfer to other server with upgraded store
I have the same error
Quote:
I'm going to upgrade from 2.1.1 to 2.1.3 to see if it change anything. |
Re: X-Payments transfer to other server with upgraded store
It could be your X-Cart server still supporting SSLv3 and your X-Payments server not supporting it.
Check what SSL you have enabled on your X-Cart and X-Payments servers first. And your X-Cart and/or X-Payments could be not patched to remove explisit call of SSLv3 while your server environment does not support SSLv3 already. See http://forum.x-cart.com/showthread.php?t=70268 |
Re: X-Payments transfer to other server with upgraded store
upgraded successfully, but didn't help
Quote:
|
Re: X-Payments transfer to other server with upgraded store
Everything is updated, SSLv3 is disabled a long time ago, but still
Quote:
|
Re: X-Payments transfer to other server with upgraded store
> I have no idea where to dig
I suggest to contact our techs using your HelpDesk account, but usually in such situations they just find something was not patched or SSLv3 still being used by the software. |
All times are GMT -8. The time now is 04:15 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.