Title: E_Error in WooCommerce
Last modified: December 8, 2021

---

# E_Error in WooCommerce

 *  Resolved [livevirtualguide](https://wordpress.org/support/users/livevirtualguide/)
 * (@livevirtualguide)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/e_error-in-woocommerce/)
 * Hi, today a customer was trying to pay for a service, but the payment failed.
   
   I got an email saying that the payment failed because the zip code verification
   failed.I thought it was something to do on the customer hand
 * Few hours later I get an email from wordpress, saying that an error has been 
   detected on the WooCommerce Payment plugin. These are the error details:
 *     ```
       Error Details
       =============
       An error of type E_ERROR was caused in line 643 of the file /home/customer/www/livevirtualguide.com/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments.php. Error message: Uncaught Error: Class 'WC_REST_Payments_Fraud_Controller' not found in /home/customer/www/livevirtualguide.com/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments.php:643
       Stack trace:
       #0 /home/customer/www/livevirtualguide.com/public_html/wp-includes/class-wp-hook.php(303): WC_Payments::init_rest_api(Object(WP_REST_Server))
       #1 /home/customer/www/livevirtualguide.com/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
       #2 /home/customer/www/livevirtualguide.com/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #3 /home/customer/www/livevirtualguide.com/public_html/wp-includes/rest-api.php(537): do_action('rest_api_init', Object(WP_REST_Server))
       #4 /home/customer/www/livevirtualguide.com/public_html/wp-includes/rest-api.php(495): rest_get_server()
       #5 /home/customer/www/livevirtualguide.com/public_html/wp-includes/rest-api.php(2832): rest_do_request(Object(WP_REST_Request))
       #6 [internal function]: rest_preload_api_request(Array, '/wc/v3')
       ```
   
 * How can I fix this?
 * I also noticed that in Dashboard>WooCommerce >My subscriptions I had two Woocommerce
   payments subscriptions. One is 1 year valid, the other one is lifetime valid.
   
   Does this have something to do with the issue?
 * Thanks in advance for your help!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fe_error-in-woocommerce%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/e_error-in-woocommerce/#post-15145512)
 * Hi there,
 * Thanks for providing that information.
 * Since this is related to WooCommerce Payments plugin, be sure to contact us at
   WooCommerce.com > My Account > Support – [https://woocommerce.com/my-account/create-a-ticket/?form=ticket](https://woocommerce.com/my-account/create-a-ticket/?form=ticket).
   You may need to login to your WooCommerce.com account before you can access that
   page.
 * Thanks.

Viewing 1 replies (of 1 total)

The topic ‘E_Error in WooCommerce’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Igor H](https://wordpress.org/support/users/ihereira/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/e_error-in-woocommerce/#post-15145512)
 * Status: resolved