a089e06 : Update closeURL and errorURL fallbacks to Woocommerce $order->get_checkout_payment_url() page. This should be the default behaviour for a better customer experience and better conversion rate. No one wants extra useless steps to complete his order.
c7eca52 : Because now by default we redirect errors to the $order->get_checkout_payment_url() page, we do not want to set the order as cancelled anymore. Only cancel it if the error slug isn't empty. Else, just redirect to let customer retry with Bitpay or another payment provider.
a089e06 : Update closeURL and errorURL fallbacks to Woocommerce
$order->get_checkout_payment_url()
page. This should be the default behaviour for a better customer experience and better conversion rate. No one wants extra useless steps to complete his order.c7eca52 : Because now by default we redirect errors to the
$order->get_checkout_payment_url()
page, we do not want to set the order as cancelled anymore. Only cancel it if the error slug isn't empty. Else, just redirect to let customer retry with Bitpay or another payment provider.