Title: Conditionally authorizing or capturing charges
Last modified: May 19, 2022

---

# Conditionally authorizing or capturing charges

 *  Resolved [robwebfx](https://wordpress.org/support/users/robwebfx/)
 * (@robwebfx)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/conditionally-authorizing-or-capturing-charges/)
 * Hi!
 * We’re currently using your plugin to authorize payments as they’re completed 
   during checkout. We’d like to conditionally capture certain orders and authorize
   other orders.
 * I was looking through your plugin and your [list of hooks](https://docs.paymentplugins.com/wc-stripe/api/hook-docs.html),
   but I wasn’t able to find a filter or some other method to dynamically change
   this.
 * Could you advise on how we could conditionally capture some orders and not others?
 * Thanks!

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

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/conditionally-authorizing-or-capturing-charges/#post-15662134)
 * Hi [@robwebfx](https://wordpress.org/support/users/robwebfx/)
 * You can use filter `wc_stripe_payment_intent_args` to conditionally capture orders.
 * [https://docs.paymentplugins.com/wc-stripe/api/source-class-WC_Stripe_Payment_Intent.html#203-247](https://docs.paymentplugins.com/wc-stripe/api/source-class-WC_Stripe_Payment_Intent.html#203-247)
 * The `capture_method` Should be set to “automatic” if you want funds to be captured
   immediately.
 * Kind regards
 *  Thread Starter [robwebfx](https://wordpress.org/support/users/robwebfx/)
 * (@robwebfx)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/conditionally-authorizing-or-capturing-charges/#post-15663715)
 * Ah, can’t believe I missed that! This is perfect!
 * Thank you for your help!

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

The topic ‘Conditionally authorizing or capturing charges’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [robwebfx](https://wordpress.org/support/users/robwebfx/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/conditionally-authorizing-or-capturing-charges/#post-15663715)
 * Status: resolved