View Single Post
  #12  
Old 10-29-2014, 12:47 AM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 758
 

Default Re: X-Payments transfer to other server with upgraded store

Now I am getting the following message in X-Payments Connector configuration page:
Quote:
Failed to meet environment requirements

X-Payments Connector callback script https://<new server IP address>/shop/payment/cc_xpc.php is not reachable by X-Payments (check X-Cart logs for details). Your checkout will not work untill you make it accessible by X-Payments. See Troubleshooting for more information. Once you've fixed this issue click here to perform check again.


X-Cart store logs:
Quote:
X-Payments Connector errors http://209.188.88.85/shop/skin/common_files/images/spacer.gif
[29-Oct-2014 05:00:33] (shop: 29-Oct-2014 06:00:33) xpay_connector message:
Response is not valid.
Response headers: 'HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Wed, 29 Oct 2014 10:00:33 GMT
Server: Apache
X-Powered-By: PHP/5.4.31
Vary: Accept-Encoding
Content-Length: 0
Content-Type: text/html
'
Response:
Request URI: /shop/admin/xpc_admin.php
Backtrace:
/home/<user>/public_html/shop/modules/XPayments_Connector/xpc_func.php:2210
/home/<user>/public_html/shop/modules/XPayments_Connector/xpc_func.php:1857
/home/<user>/public_html/shop/modules/XPayments_Connector/xpc_func.php:1314
/home/<user>/public_html/shop/modules/XPayments_Connector/xpc_admin.php:109
/home/<user>/public_html/shop/admin/xpc_admin.php:84

[29-Oct-2014 05:00:33] (shop: 29-Oct-2014 06:00:33) xpay_connector message:
Test connection data is not valid
Request URI: /shop/admin/xpc_admin.php
Backtrace:
/home/<user>/public_html/shop/modules/XPayments_Connector/xpc_func.php:2210
/home/<user>/public_html/shop/modules/XPayments_Connector/xpc_func.php:1338
/home/<user>/public_html/shop/modules/XPayments_Connector/xpc_admin.php:109
/home/<user>/public_html/shop/admin/xpc_admin.php:84


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?
Reply With Quote