• 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 Payment Plugins

    (@mrclayton)

    Hi @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)
  • You must be logged in to reply to this topic.