pseudozach / wp-lightning-comments

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

Only generate invoice when user intends to comment #2

Open Sjors opened 2 years ago

Sjors commented 2 years ago

Right now it’s generating a lightning invoice for every (unique) view of a blog post. That’s overkill.

I would suggesting something like this:

Schermafbeelding 2022-05-29 om 10 37 36

Once the user clicks on the link, the invoice would be generated and appear. When paid the placeholder text is removed from the comment field and the submit button is enabled.