Title: Got error when processing order refund
Last modified: April 29, 2021

---

# Got error when processing order refund

 *  Resolved [Chris Yau](https://wordpress.org/support/users/chris-yau/)
 * (@chris-yau)
 * [5 years ago](https://wordpress.org/support/topic/got-error-when-processing-order-refund/)
 * Hi,
 * because the hired customized feature has been overwrite by update and paid pro
   version, I have rolled back to v2.2 and got error when processing order refund.
 *     ```
       Fatal error: Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Overrides\OrderRefund::get_order_id()
       in \wp-content\plugins\wc-partial-shipment\woocommerce-partial-shipment.php on line 179
   
       Call stack:
   
       WXP_Partial_Shipment::wxp_order_item_values()
       wp-includes/class-wp-hook.php:292
       WP_Hook::apply_filters()
       wp-includes/class-wp-hook.php:316
       WP_Hook::do_action()
       wp-includes/plugin.php:484
       do_action()
       wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-refund.php:50
       include()
       wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-items.php:92
       include()
       wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-items.php:41
       WC_Meta_Box_Order_Items::output()
       wp-admin/includes/template.php:1389
       do_meta_boxes()
       wp-admin/edit-form-advanced.php:688
       require()
       wp-admin/post.php:206
       ```
   
 * Please help, thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [Vikram S.](https://wordpress.org/support/users/jodhavishalsingh/)
 * (@jodhavishalsingh)
 * [5 years ago](https://wordpress.org/support/topic/got-error-when-processing-order-refund/#post-14388744)
 * Hi [@chris-yau](https://wordpress.org/support/users/chris-yau/), as I said in
   my previous message we won’t be able to provide you paid support here.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Got error when processing order refund’ is closed to new replies.

 * ![](https://ps.w.org/wc-partial-shipment/assets/icon-256x256.png?rev=3365045)
 * [Partial Shipment for Woocommerce](https://wordpress.org/plugins/wc-partial-shipment/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-partial-shipment/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-partial-shipment/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-partial-shipment/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-partial-shipment/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-partial-shipment/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Vikram S.](https://wordpress.org/support/users/jodhavishalsingh/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/got-error-when-processing-order-refund/#post-14388744)
 * Status: resolved