Programmatically voiding orders
-
Hi!
We’re looking to cancel authorized payments after seven days. With this plugin, we’re seeing that when an order is cancelled, “Capture authorized payment” is no longer an available action under “Order actions” in the WP admin; however, in PayPal, we’re seeing Payment as still pending and “Capture” as an available action.
After digging through the code, in WooCommerce\PayPalCommerce\WcGateway\Processor\RefundProcessor, it looks like authorized payments are voided if the order is refunded.
Is there something standalone that we can use to trigger authorized payment for cancelled orders to be voided (and cannot be captured in the future)?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Programmatically voiding orders’ is closed to new replies.