Title: Getting Error!!
Last modified: November 25, 2019

---

# Getting Error!!

 *  Resolved [packnstack](https://wordpress.org/support/users/packnstack/)
 * (@packnstack)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/getting-error-55/)
 * I am getting a fatal error anytime someone has chose to pay. For this scenario,
   I used an e-transfer which puts the order on hold. The other option is credit,
   and it marks it as processing. I have it set to authorize, as I must ensure I
   can fulfill the order before confirming.
 * As soon I hit “confirm” on woocommerce, it goes to this error page:
    Fatal error:
   Uncaught Error: Call to undefined method WC_Gateway_BACS::capture_charge() in/
   home/jackof14/public_html/packnstackbins.ca/wp-content/plugins/woo-stripe-payment/
   includes/wc-stripe-functions.php:238 Stack trace: #0 /home/jackof14/public_html/
   packnstackbins.ca/wp-includes/class-wp-hook.php(288): wc_stripe_order_status_completed(
   4340, Object(WC_Order)) #1 /home/jackof14/public_html/packnstackbins.ca/wp-includes/
   class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #2 /home/jackof14/
   public_html/packnstackbins.ca/wp-includes/plugin.php(478): WP_Hook->do_action(
   Array) #3 /home/jackof14/public_html/packnstackbins.ca/wp-content/plugins/woocommerce/
   includes/class-wc-order.php(363): do_action(‘woocommerce_ord…’, 4340, Object(
   WC_Order)) #4 /home/jackof14/public_html/packnstackbins.ca/wp-content/plugins/
   woocommerce/includes/class-wc-order.php(221): WC_Order->status_transition() #
   5 /home/jackof14/public_html/packnstackbins.ca/wp-content/plugins/woocommerce/
   includes/admin/meta-boxes/class-wc-meta-box-order-data.php in /home/jackof14/
   public_html/packnstackbins.ca/wp-content/plugins/woo-stripe-payment/includes/
   wc-stripe-functions.php on line 238
 * This is what the file of line 238 looks like. The last line here is line 238.
 * function wc_stripe_order_status_completed($order_id, $order) {
    /** * * [@var](https://wordpress.org/support/users/var/)
   WC_Payment_Gateway_Stripe $gateway */ $gateway = WC ()->payment_gateways ()->
   payment_gateways ()[ $order->get_payment_method () ]; if (! $gateway->processing_payment){
   $gateway->capture_charge ( $order->get_total (), $order );
 * How can I fix this asap?!!!

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

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/getting-error-55/#post-12174016)
 * Hi [@packnstack](https://wordpress.org/support/users/packnstack/),
 * Thank you for reaching out. I will try to re-create the error and if we find 
   an issue I will release an update immediately.
 * Expect to hear back from me within an hour.
 * Kind regards,
    -  This reply was modified 6 years, 6 months ago by [Clayton R](https://wordpress.org/support/users/mrclayton/).
 *  Thread Starter [packnstack](https://wordpress.org/support/users/packnstack/)
 * (@packnstack)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/getting-error-55/#post-12174018)
 * Wow, that would be great. Thank you for your prompt reply!
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/getting-error-55/#post-12174168)
 * Hi [@packnstack](https://wordpress.org/support/users/packnstack/),
 * I added a code change that will prevent this error in all cases. Can you contact
   us via our support form in the Stripe plugin’s settings so we can have you test
   before we release the update?
 * Kind regards,
 *  Thread Starter [packnstack](https://wordpress.org/support/users/packnstack/)
 * (@packnstack)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/getting-error-55/#post-12174182)
 * Sure thing, really appreciate this.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/getting-error-55/#post-12174989)
 * Version 3.0.3 released.
 *  Thread Starter [packnstack](https://wordpress.org/support/users/packnstack/)
 * (@packnstack)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/getting-error-55/#post-12177606)
 * Thank you… all fixed!

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

The topic ‘Getting Error!!’ is closed to new replies.

 * ![](https://ps.w.org/woo-stripe-payment/assets/icon-256x256.png?rev=2611337)
 * [Payment Plugins for Stripe WooCommerce](https://wordpress.org/plugins/woo-stripe-payment/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-stripe-payment/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-stripe-payment/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-stripe-payment/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-stripe-payment/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-stripe-payment/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [packnstack](https://wordpress.org/support/users/packnstack/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/getting-error-55/#post-12177606)
 * Status: resolved