bitpay / bitpay-checkout-for-woocommerce

BitPay Checkout for WooCommerce
MIT License
14 stars 22 forks source link

Update redirect URLs #44

Open dekefake opened 1 year ago

dekefake commented 1 year ago

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.