Title: success function
Last modified: October 18, 2017

---

# success function

 *  Resolved [rdgajera](https://wordpress.org/support/users/rdgajera/)
 * (@rdgajera)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/success-function/)
 * How do I do some code where I’m putting like if payment goes through then Do 
   some other stuff. I’m developing a plugin myself so just need that variable or
   function to check it if process is successful.

Viewing 1 replies (of 1 total)

 *  Plugin Author [syednazrulhassan](https://wordpress.org/support/users/nazrulhassanmca/)
 * (@nazrulhassanmca)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/success-function/#post-9602942)
 * Please check this [http://hookr.io/actions/woocommerce_payment_complete/](http://hookr.io/actions/woocommerce_payment_complete/)

Viewing 1 replies (of 1 total)

The topic ‘success function’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/authorizenet-woocommerce-addon_a2c2e1.
   svg)
 * [Authorize.Net Payment Gateway WooCommerce Addon](https://wordpress.org/plugins/authorizenet-woocommerce-addon/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/authorizenet-woocommerce-addon/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/authorizenet-woocommerce-addon/)
 * [Active Topics](https://wordpress.org/support/plugin/authorizenet-woocommerce-addon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/authorizenet-woocommerce-addon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/authorizenet-woocommerce-addon/reviews/)

## Tags

 * [checkout](https://wordpress.org/support/topic-tag/checkout/)

 * 1 reply
 * 2 participants
 * Last reply from: [syednazrulhassan](https://wordpress.org/support/users/nazrulhassanmca/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/success-function/#post-9602942)
 * Status: resolved