Title: Export refunds
Last modified: November 9, 2023

---

# Export refunds

 *  [schero86](https://wordpress.org/support/users/schero86/)
 * (@schero86)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/export-refunds/)
 * Hello,
   I have been using following code to export refunds, but since updating
   to HPOS it doesn’t work anymore:
 * add_action(‘admin_init’, function($statuses){
   WC_Order_Export_Data_Extractor_UI::
   $object_type=’shop_order_refund’;WC_Order_Export_Data_Extractor::$object_type
   =’shop_order_refund’;} );
 * Can you help?
    -  This topic was modified 2 years, 7 months ago by [schero86](https://wordpress.org/support/users/schero86/).

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

 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/export-refunds/#post-17190366)
 * Hello
 * This code still works fok for free version .
 * If you use pro version — remove code and use doprdown at top of tab “Profiles”
 * I refer to [https://docs.algolplus.com/algol_order_export/interface-of-the-profiles-tab/](https://docs.algolplus.com/algol_order_export/interface-of-the-profiles-tab/)
 * thanks, Alex
 *  Thread Starter [schero86](https://wordpress.org/support/users/schero86/)
 * (@schero86)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/export-refunds/#post-17192227)
 * I get “critical error” message when trying to export 🙁
   This happens when using
   php ver. 8.2.On 7.4 it work ok.
    -  This reply was modified 2 years, 7 months ago by [schero86](https://wordpress.org/support/users/schero86/).
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/export-refunds/#post-17192308)
 * Please, visit >WooCommerce>Status>Logs and review “fatal-error-xxx” for today.
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/export-refunds/#post-17193021)
 * I’ve fixed the bug.
 * Please ,submit ticket to [https://algolplus.freshdesk.com/](https://algolplus.freshdesk.com/)
   and I’ll send you version for tests
 *  Thread Starter [schero86](https://wordpress.org/support/users/schero86/)
 * (@schero86)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/export-refunds/#post-17197093)
 * ok

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

The topic ‘Export refunds’ is closed to new replies.

 * ![](https://ps.w.org/woo-order-export-lite/assets/icon-256x256.png?rev=1365554)
 * [Advanced Order Export For WooCommerce](https://wordpress.org/plugins/woo-order-export-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-order-export-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-order-export-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-order-export-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-order-export-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-order-export-lite/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [schero86](https://wordpress.org/support/users/schero86/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/export-refunds/#post-17197093)
 * Status: not resolved