Internal server error at checkout
-
Hi,
I just moved a woocommerce site from a development server (non ssl) to a production server (with ssl). Both sites are hosted with the same hosting company (same php, Apache and MySQL versions), but while everything worked fine on the development server, I get an “Internal Server Error) on the production (ssl) site.
SSL is set to use the www version of the site, but when I check the logs for the payment gateway module (PayEx), it seems that the submit button on the checkout is sending the request from the non www ip address. The log file returns this: “PxOrder.Initialize8:Merchant_InvalidIpAddress(Source IP Address xxx.xx.xx.xxx is not valid for this merchant.(XXXXXXXX))”, where the stated IP address is the non www IP.
I have set both site url and home ur to “https://www.xxx.se”, Force SSL is unchecked in Woo settings and the htaccess file is set to redirect non www requests to www like so:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.(.*)$ [NC]
RewriteCond %{HTTP:HTTPS} !on
RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [R,L]What could be the problem here?
- The topic ‘Internal server error at checkout’ is closed to new replies.