I have integrated 2Checkout and CubeCart on my website.
When a purchase is made on my site, instead of getting a message to verify that the payment was successful, the user/costumer encounters a page reading: ”Error: No payment gateway variable is set!”
The support team gave me the following advice:
There is a sesion issue you have set the store URL without www defined in your includes/glob.inc.php and the order has been made using a URL with www or counter…
If your site supports apache rewrite rule module there is a quick fix to always use the URL with www. Please correct the global setting in file i mentioned (if no www there) and use this in .htaccess:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
____________________________________________________________
I have corrected my link to include ”www” and it still does not work! Can anyone provide a more basic step by step process for the directions listed above?