Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Paypal capture payment problem

$
0
0

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


Viewing all articles
Browse latest Browse all 59525

Trending Articles