Hi all,
Thomas from Crypto de Change here.
Unfortunately Coinpayments are closing their doors. The reason customers are redirected to an empty cart (but orders are still processed) are due to deprecated hooks.
In bwwc-bitcoin-gateway.php, look for this line:
'redirect' => add_query_arg('key', $order->order_key, add_query_arg('order', $order_id, get_permalink(woocommerce_get_page_id('thanks'))))
and replace it with:
'redirect' => add_query_arg('key', $order->order_key, add_query_arg('order', $order_id, $this->get_return_url( $order )))
There’s also a deprecated notice on the thankyou page, but I haven’t looked too far into what causes it yet.