• Resolved Gorillo

    (@gorillo)


    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?

    https://www.ads-software.com/plugins/woocommerce/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    I’m not 100% sure what the source of the problem is, but it does sound like something relating to your server’s SSL config. Have you asked the host or whomever set this up?

    Thread Starter Gorillo

    (@gorillo)

    Hi,

    Thanks for your answer. It turned out to be a combination of an error at the web hosting company and another error in PayEx admin.

    What is the error?
    I’m hitting this “Internal Server Error” too so I appreciate that some description what error u hit so i can learn too.

    I am experiencing Internal Server Error as well. Moved a site from the server onto my localhost. I have reinstalled the latest version of woocommerce, 2.4.7, to be sure it is not a problem of woocommerce. Deactivated all related plugins to woocommerce, and even tried switching themes. Nothing I do fixes this issue. Unchecked Force SSL on checkout page ofcourse, even enabled Guest Account checkout. Nothing I do fixes this issue of Internal Server Error.

    So, an attempted a New Fresh installation of WordPress, with ONLY Woocommerce installed. Created a product, and tried to purchase this product, with AGAIN, Internal Server Error on localhost!

    This is most definitely an issue with Woocommerce version 2.4.7. Not sure what they are doing differently that would be causing this issue from other, previous versions I have tried. Would be great if someone could reply to this message with some helpful information though. Seems odd that there is nothing on this via search results.

    BTW, I am using WAMP on localhost, with PHP Version 5.5.12, Apache version 2.4.9. Let me know if you need any further information.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Internal server error at checkout’ is closed to new replies.