Option to cancel the checkout #4590
Replies: 4 comments 8 replies
-
Wouldn't we have to introduce |
Beta Was this translation helpful? Give feedback.
-
Either that or we hotwire it to marked invalid
…On Fri, Feb 3, 2023 at 9:46 AM Pavlenex ***@***.***> wrote:
Wouldn't we have to introduce canceled invoice status then?
—
Reply to this email directly, view it on GitHub
<#4590 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN357UUZ5QADHQKKFM2KJLWVTAUXANCNFSM6AAAAAAUPOT3AY>
.
You are receiving this because you are subscribed to this thread.Message
ID: <btcpayserver/btcpayserver/repo-discussions/4590/comments/4859798@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Either way, the amount of work needed and the potential dangers of introducing a new status for existing integrations and checks is really not worth it for something that is equivalent in function to "expired". We could experiment with a plugin that adds a "go back" link in the checkout Ui |
Beta Was this translation helpful? Give feedback.
-
When an invoice expires, the redirect URL is used for the "Return to [store]" button... for many eCom stores, the redirectURL will be the "waiting for payment to clear" page (which waits for webhook notification confirming payment). This creates a bad user experience because the payment will never arrive. The only change really needed it to accept a cancelURL and use it on the expired invoice button. The store can then set this as needed to return to checkout flow. Optionally, you could also add an abort link/button on an active invoice. As mentioned above, this is common with other payment processors, such as Stripe's cancelUrl and BitPay's closeURL options. |
Beta Was this translation helpful? Give feedback.
-
On the checkout / invoice screen there should be an option to cancel the payment. E.g. on PoS a user leaves or pays in cash instead. Also for online stores this is a common use case to have a cancel payment button. This should be an option in the checkout appearance. Maybe with optional "cancel url"
see also https://chat.btcpayserver.org/btcpayserver/pl/kef7xchozpdobk8d9akyboykcr
For the Greenfield API we would need the same two settings. Or enable it as soon as the cancel url is set.
Beta Was this translation helpful? Give feedback.
All reactions