Title: Process Items After Payment
Last modified: July 22, 2021

---

# Process Items After Payment

 *  Resolved [sloped](https://wordpress.org/support/users/sloped/)
 * (@sloped)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/process-items-after-payment/)
 * I’m working with a service that is a 3rd party layer over several services. The
   requirement is that once payment is processed successfully with Woocommerce we
   can complete the order with the third-party site. Once that is completed we add
   additional line item metadata and then render the information into the checkout
   complete page.
 * I’ve attempted to use `woocommerce_payment_successful_result` and make the API
   calls there, storing the return data as item meta. But it seems as though doing
   async methods in a filter is not supported since I always receive an empty array.
   If I use an action this works, but I have not discovered an action I can call
   that will process after a payment is fully completed and before the checkout 
   page is rendered.
 * Is there any action I can use to make these calls and render details into the
   checkout completed page while ensuring that payment has been successful before
   I make those API calls.

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

 *  [Erica K. a11n](https://wordpress.org/support/users/piratepenpen/)
 * (@piratepenpen)
 * Automattic Happiness Engineer
 * [4 years, 10 months ago](https://wordpress.org/support/topic/process-items-after-payment/#post-14690301)
 * Hey [@sloped](https://wordpress.org/support/users/sloped/),
 * This is a fairly complex development topic. I’m going to leave it open for a 
   bit to see if anyone is able to chime in to help you out.
 * I can also recommend [the WooCommerce Developer Resources Portal](https://developer.woocommerce.com/)
   for resources on developing for WooCommerce.
 * You can also visit the [WooCommerce Facebook group](https://www.facebook.com/groups/advanced.woocommerce/)
   or the `#developers` channel of the [WooCommerce Community Slack](https://woocommerce.com/community-slack/).
   We’re lucky to have a great community of open-source developers for WooCommerce,
   and many of our developers hang out there, as well.
 * Hopefully you will get some answers! 🙂
 *  Plugin Support [Gabriel – a11n](https://wordpress.org/support/users/gabrielfuentes/)
 * (@gabrielfuentes)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/process-items-after-payment/#post-14716716)
 * We’ve not seen any activity on this thread for a while, so I’m marking this thread
   as resolved.
 * Hopefully, you were able to find a solution to your problem! If you have further
   questions, please feel free to open a new topic.
 * Cheers!

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

The topic ‘Process Items After Payment’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [Gabriel – a11n](https://wordpress.org/support/users/gabrielfuentes/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/process-items-after-payment/#post-14716716)
 * Status: resolved