Title: Hook transaction in custom code
Last modified: September 13, 2023

---

# Hook transaction in custom code

 *  Resolved [aurelofou](https://wordpress.org/support/users/aurelofou/)
 * (@aurelofou)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/hook-transaction-in-custom-code/)
 * Hi.
 * We need to award commission from our custom WordPress Plugin.
 * Can you show us the code / hook for that ?
 * Thanks.

Viewing 1 replies (of 1 total)

 *  Plugin Author [iova.mihai](https://wordpress.org/support/users/iovamihai/)
 * (@iovamihai)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/hook-transaction-in-custom-code/#post-17048045)
 * Hey [@aurelofou](https://wordpress.org/support/users/aurelofou/),
 * Thank you for reaching out! Implementing this type of integration is not as easy
   as using a function I’m afraid. There are quite a few moving parts.
 * I recommend you to access SliceWP’s code and check the includes/base/integrations
   folder. In this folder you will find the code of the integrations that we already
   have.
 * I recommend exploring the code and building from those examples. Also, if you
   don’t have experience with WordPress development, I recommend working with a 
   professional from the field.
 * Thank you and best wishes,
 * Mihai

Viewing 1 replies (of 1 total)

The topic ‘Hook transaction in custom code’ is closed to new replies.

 * ![](https://ps.w.org/slicewp/assets/icon-256x256.png?rev=2432848)
 * [Affiliate Program Suite — SliceWP Affiliates](https://wordpress.org/plugins/slicewp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slicewp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slicewp/)
 * [Active Topics](https://wordpress.org/support/plugin/slicewp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slicewp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slicewp/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [iova.mihai](https://wordpress.org/support/users/iovamihai/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/hook-transaction-in-custom-code/#post-17048045)
 * Status: resolved