Title: Woocommerce admin-ajax.php causing 500 Internal Server Error
Last modified: August 24, 2016

---

# Woocommerce admin-ajax.php causing 500 Internal Server Error

 *  Resolved [jennsweb](https://wordpress.org/support/users/jennsweb/)
 * (@jennsweb)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/woocommerce-admin-ajaxphp-causing-500-internal-server-error/)
 * Just updated to WordPress 4.2.2 and Woocommerce 2.3.8 and now the checkout page
   endlessly loads when someone tries to place an order.
 * POST [https://www.promerasports.com/geraldo/wp-admin/admin-ajax.php?action=woocommerce_checkout](https://www.promerasports.com/geraldo/wp-admin/admin-ajax.php?action=woocommerce_checkout)
   500 (Internal Server Error)m.ajaxTransport.send @ jquery.js?ver=1.11.2:4m.extend.
   ajax @ jquery.js?ver=1.11.2:4b.submit @ checkout.min.js?ver=2.3.8:1m.event.dispatch
   @ jquery.js?ver=1.11.2:3m.event.add.r.handle @ jquery.js?ver=1.11.2:3
 * Here is what I have done so far:
 * 1: Removed Woocommerce email template from DIVI theme (latest version)
    2: Disabled
   new order email notification in WC settings 3: Added a function to de-register
   heartbeat in functions.php file 4: Tested the theme by activating WP 2015 theme
   5: I have also tried to replace the admin-ajax.php file in WP 4.2.2 with one 
   from a previous version of WP
 * I can try testing by turning off plugins. There aren’t many active that aren’t
   absolutely necessary to running the store. The store was functioning fine until
   we updated to latest WordPress, lastest Woocommerce and also added the CloudFlare
   service to our hosting plan.
 * Woothemes is not responding to a support ticket placed a couple of days ago (
   no surprise there)

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

 *  Thread Starter [jennsweb](https://wordpress.org/support/users/jennsweb/)
 * (@jennsweb)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/woocommerce-admin-ajaxphp-causing-500-internal-server-error/#post-6134436)
 * well-to be honest, woocommerce did just reply.
 * From over 2 days ago.
 * AFter I’ve already tried pretty much every fix I could find. Is it a big PITA
   to revert to a previous release of WC?
 *  Thread Starter [jennsweb](https://wordpress.org/support/users/jennsweb/)
 * (@jennsweb)
 * [11 years ago](https://wordpress.org/support/topic/woocommerce-admin-ajaxphp-causing-500-internal-server-error/#post-6134663)
 * Update! I found out that the WP Affiliate Platform plugin is causing the issue.
   Affiliate WooCommerce Coupons Addon is also an issue. Only when **both** are 
   de-activated does the checkout process work. Both are by Tips & Tricks HQ and
   their support has been notified. If anyone else is having this issue, your feedback
   would be a big help!
 *  Thread Starter [jennsweb](https://wordpress.org/support/users/jennsweb/)
 * (@jennsweb)
 * [11 years ago](https://wordpress.org/support/topic/woocommerce-admin-ajaxphp-causing-500-internal-server-error/#post-6134705)
 * The site is working again! Since a few others are bound to have similar issues
   with doing updates to Woocommerce 2.3.8 and WordPress 4.2.2 I will summarize 
   what happened.
 * Updated Woocommerce and WordPress to latest versions as well as plugins. Usually
   when we do an update to Woocommerce we have to re-set our Authorize.net API and
   Transaction Key. So, that was the first thing we did.
 * Internal 500 Error at initial checkout. First issue apparent was the WP-Affiliates
   Platform plugin by Tips & Tricks HQ. They were notified and recommended a re-
   install. (it doesn’t wipe out your affiliates data to do so BTW)
 * After that, I tested checkout on our test site, naturally. It worked. Happy dance.
   Then, I went to our live site. I got this message after clicking “Place My Order”:
   “
   An error occured. Please seek alternate payment.”
 * Very cryptic. So, I enabled the Debug messages function on our WooCommerce Authorize.
   net AIM Gateway plugin’s settings. Then, I tried to checkout again. Went to the
   server via ftp and downloaded the debug.log file. It came up with an error code
   of E00007 which said “invalid transaction key”.
 * Turns out that one cannot use the same Authorize.net API and Transaction Key 
   on a test and a live site. So, I signed up for a developer/sandbox key at authorize.
   net. Installed that on the sandbox set (do NOT enable test mode in your authorize.
   net plugin’s settings, a sandbox key already lets them know it’s only a test).
 * THEN, had to request a new Transaction Key for the live site from Authorize.net.
   Installed that key on the live site’s plugin settings and now credit card payments
   seem to be working again.
 * Helpful links:
    [http://stackoverflow.com/questions/28070748/how-to-get-authorize-net-response-in-woocommerce-authorize-net-aim-gateway](http://stackoverflow.com/questions/28070748/how-to-get-authorize-net-response-in-woocommerce-authorize-net-aim-gateway)
 * [http://developer.authorize.net/tools/arberrorcodes/](http://developer.authorize.net/tools/arberrorcodes/)
 * [http://docs.woothemes.com/document/authorize-net-aim/](http://docs.woothemes.com/document/authorize-net-aim/)
 * [https://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/Sandbox-Accounts-vs-Live-Accounts-Which-Does-What-Anyway/ba-p/9350](https://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/Sandbox-Accounts-vs-Live-Accounts-Which-Does-What-Anyway/ba-p/9350)

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

The topic ‘Woocommerce admin-ajax.php causing 500 Internal Server Error’ is closed
to new replies.

 * 3 replies
 * 1 participant
 * Last reply from: [jennsweb](https://wordpress.org/support/users/jennsweb/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/woocommerce-admin-ajaxphp-causing-500-internal-server-error/#post-6134705)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
