Replies: 0
Hi,
I am using woocommerce Paypal gateway to authorize the payment and capture it later when the order passes from on-hold to complete.
However, for some unknown reason, it looks like this action is not shooting:
add_action( ‘woocommerce_order_status_on-hold_to_completed’, array( $this, ‘capture_payment’ ) );
And the payment is not being captured.
Already tested a lot and I really can’t make this action running.
This was previously a bug in woocommerce… is it possible that it was not solved?
Thanks,
João Capinha