Title: Internal server error at checkout
Last modified: August 30, 2016

---

# Internal server error at checkout

 *  Resolved [Gorillo](https://wordpress.org/support/users/gorillo/)
 * (@gorillo)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/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&#8221](https://www.xxx.se&#8221);,
   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.%](https://www.%){
   HTTP_HOST}%{REQUEST_URI} [R,L]
 * What could be the problem here?
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/internal-server-error-at-checkout/#post-6439999)
 * 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](https://wordpress.org/support/users/gorillo/)
 * (@gorillo)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/internal-server-error-at-checkout/#post-6440095)
 * 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.
 *  [WebDesignz](https://wordpress.org/support/users/webdesignz/)
 * (@webdesignz)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/internal-server-error-at-checkout/#post-6440134)
 * 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.
 *  [SoLoGHoST](https://wordpress.org/support/users/sologhost/)
 * (@sologhost)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/internal-server-error-at-checkout/#post-6440212)
 * 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.
 *  [SoLoGHoST](https://wordpress.org/support/users/sologhost/)
 * (@sologhost)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/internal-server-error-at-checkout/#post-6440213)
 * 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.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [SoLoGHoST](https://wordpress.org/support/users/sologhost/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/internal-server-error-at-checkout/#post-6440213)
 * Status: resolved