pseudozach / wp-lightning-comments

Repository for Wordpress plugin wp-lightning-comments
GNU General Public License v3.0
2 stars 2 forks source link

No-javascript fallback #6

Open Sjors opened 2 years ago

Sjors commented 2 years ago

For the current version that should be fairly easy.

Schermafbeelding 2022-06-06 om 20 15 08

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.

pseudozach commented 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?

Sjors commented 2 years ago

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.