Hi
Thx @mrova your solution
function process_payment($order_id){
$order = new WC_Order($order_id);
return array(‘result’ => ‘success’, ‘redirect’ => $order->get_checkout_payment_url( true ));
}
has worked for my issue with Payment Express plugin. However it does briefly redirect via the order received page – so the user sees a flash of another page before the payment gateway opens up. Is there a way to eliminate this segway?
Cheers,
Mooke