View Single Post
  #2  
Old 06-28-2012, 03:25 AM
 
joss joss is offline
 

X-Cart team
  
Join Date: Feb 2009
Posts: 60
 

Default Re: test store store xpayments - Responce is not Valid

Check, whether the connections from the store are possible to X-Payments. You may do it through Maintenance -> Tools, find the "active" link in the list of the HTTPS bouncers and in the popup window enter the URL of your X-Payments by the following pattern:

https://www.example.com:443/xpayments-dir/api.php

Where www.example.com is the domain name of the server where X-Payments is isntalled, 443 - stadard port for HTTPS connections, xpayments-dir directory where X-Payments is installed and api.php is a scrip which receives the connections from store.

Alternatively, you may upload a test PHP script on your server with the following content:

Quote:
<?php

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, "https://www.example.com/xpayments-dir/api.php");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

$response = curl_exec($ch);

echo htmlspecialchars($response);

?>

Again, https://www.example.com/xpayments-dir/api.php should be the URL of X-Payments.

In both cases you should see something in the outupt, i.e. the response from the server should be shown.

If the response is empty or you see LibCURL error, contact uyor hosting support or the server admins.
__________________
joss@x-cart.com
Reply With Quote