This commit is contained in:
2022-10-31 03:50:29 +00:00
parent fcfad9555c
commit 4a0774c7a2
+1 -1
View File
@@ -169,7 +169,7 @@ function vnpg_init_gateway_class() {
if ( $order->get_total() > 0 ) {
// Mark as on-hold (we're awaiting the payment).
$order->update_status( apply_filters( 'woocommerce_' .$this->id. '_process_payment_order_status', 'on-hold', $order ), __( 'Awaiting BACS payment', 'woocommerce' ) );
$order->update_status( apply_filters( 'woocommerce_vnpg_process_payment_order_status', 'on-hold', $order ), __( 'Awaiting BACS payment', 'woocommerce' ) );
} else {
$order->payment_complete();
}