Open Sjors opened 2 years ago
maybe I'm not as familiar but what would happen in the new tab? user will still need javascript for us to create and then check the invoice right?
Not if you if generate the invoice server-side. They just have to refresh the page when its paid, because only the server can check that status. Unless BTCPay has really good support for no-script, I haven't checked.
For the current version that should be fairly easy.
With #2 it's trickier. We probably need the user to open a new tab or a popup, where we generate the invoice. The user should then refresh after completing the payment.