[ad_1]
The order status is getting changed from pending payment to processing. I want it to go to pending payment to on-hold instead.
I tried this php snippet but it didn’t work.
add_filter( 'woocommerce_pronamic_pay_razorpay_process_payment_order_status', 'change_order_status', 9999, 2 );function change_order_status( $status, $order ) {
return 'on-hold';
}
Hello @dkexception
Thanks for liking Knit Pay. Your feedback gives us encouragement to provide you even better services.
You are using wrong filter, kindly try using pronamic_payment_status_update_woocommerce action.
We can also do the customization for you on your behalf, it will be paid service. You can contact us using link below.
