Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update redirect URLs #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update redirect URLs #44

wants to merge 2 commits into from

Conversation

dekefake
Copy link

@dekefake dekefake commented Mar 2, 2023

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.

Update closeURL and errorURL defauts to Woocommerce order->get_checkout_payment_url page.
This should be the default behaviour for better customer experience and better conversion. Noone wants to create his cart once again.
Cancelling an order if a random error occurs doesn't makes sense. The customer should be shown the checkout payment page again to try again or use another payment method.
@dekefake dekefake changed the title Update default redirect URLs Update redirect URLs Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant