Title: Error on refund
Last modified: June 11, 2024

---

# Error on refund

 *  [ctcon](https://wordpress.org/support/users/ctcon/)
 * (@ctcon)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/error-on-refund/)
 * on refund we get an error “Invalid refund amount”
 * in log we can find this
 * Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Overrides\
   OrderRefund::get_transaction_id() in /wp-content/plugins/pymntpl-paypal-woocommerce/
   src/WebhookEventReceiver.php:48

Viewing 1 replies (of 1 total)

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/error-on-refund/#post-17817242)
 * Hi [@ctcon](https://wordpress.org/support/users/ctcon/)
 * `get_transaction_id` is a method provided by WooCommerce and has existed for 
   many years and is used by countless plugins that integrate with WooCommerce. 
   If it’s undefined, that’s not a PayPal plugin issue.
 * The webhook receiver is not the reason for the invalid refund amount error. Can
   you provide the exact steps you’re performing when creating a refund in WooCommerce?
   WooCommerce feeds the refund amount to the payment gateway, so 95% of the refund
   logic is WooCommerce core.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Error on refund’ is closed to new replies.

 * ![](https://ps.w.org/pymntpl-paypal-woocommerce/assets/icon-256x256.png?rev=2718338)
 * [Payment Plugins for PayPal WooCommerce](https://wordpress.org/plugins/pymntpl-paypal-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pymntpl-paypal-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pymntpl-paypal-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/pymntpl-paypal-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pymntpl-paypal-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pymntpl-paypal-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * Last activity: [1 year, 12 months ago](https://wordpress.org/support/topic/error-on-refund/#post-17817242)
 * Status: not resolved