I have created a WooCommerce payment gateway.
As a requirement from the credit card processing the time from requesting authorisation to the payment can be up to 120s. I have increased the timeout on the wp_remote_post from the default of 5s to 130s. Unfortunately the process is interrupted at about 105s when the website returns to the cart page which is now empty. The order is added to the system but no payment details are included. It would appear that the process_payment function that is called by WooCommerce has been timed out.
Can anyone tell me where this time out is occurring and how to increase it.