Title: Capture payment programmatically
Last modified: March 22, 2020

---

# Capture payment programmatically

 *  [baras](https://wordpress.org/support/users/baras/)
 * (@baras)
 * [6 years ago](https://wordpress.org/support/topic/capture-payment-programmatically/)
 * Hi,
 * On our website, we need to create WooCommerce orders programatically and capture
   payment using the user’s saved card.
 * We’re using your plugin as the payment gateway. How can we attempt capture once
   the order is created?
 * Thanks!
    -  This topic was modified 6 years ago by [baras](https://wordpress.org/support/users/baras/).

The topic ‘Capture payment programmatically’ is closed to new replies.

 * ![](https://ps.w.org/woofunnels-woocommerce-nmi-gateway/assets/icon-256x256.png?
   rev=1980528)
 * [XL NMI Gateway for WooCommerce](https://wordpress.org/plugins/woofunnels-woocommerce-nmi-gateway/)
 * [Support Threads](https://wordpress.org/support/plugin/woofunnels-woocommerce-nmi-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woofunnels-woocommerce-nmi-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woofunnels-woocommerce-nmi-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woofunnels-woocommerce-nmi-gateway/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [baras](https://wordpress.org/support/users/baras/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/capture-payment-programmatically/)
 * Status: not resolved