alterPaymentCompleteStatuses affecting frontend checkout
-
Hi there!
I am writing to bring to your attention that the plugin’s feature to limit printing to successful order is affecting front end checkout
$this->loader->add_filter( 'woocommerce_valid_order_statuses_for_payment_complete', $controller_order_statuses, 'alterPaymentCompleteStatuses' );if ( $only_successful_payments === true ) { return array( 'on-hold', 'pending' ); }This means if on the frontend, a payment fails first (thus switching status to failed) and succeeds later on further attempts, it would not allow order status to be switched to processing.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.