• I’m trying to develop a plugin that creates a bitcoin paywall. I want to create a checkbox similar to the Password Protect Visibility option. Instead a password form appearing, I want a QR code linking to my bitcoin wallet. What would the best way to implement this be?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    You can use the ‘the_password_form’ filter to output any arbitrary HTML in place of or in addition to the password form.

    That pretty much answers your question, excuse me for being curious, but once someone pays for access, then what happens? Do they get a password? How do you know which post to provide a password for? Or are they all the same, they are paying to access the site? What prevents that person from sharing their password or whatever token with any number of “friends”?

    I would expect there to be a bitcoin API available where your site could confirm that proper payment has been made and grants them access. How that would be developed is too much to go into here. There are some significant security issues that may need addressing for any payment scheme, so that cheating is never possible.

    Thread Starter ChinchillaSanchez

    (@chinchillasanchez)

    Thanks for the help! I found an open source php script that uses the blockchain.info API to process payments, so I’m working on implementing it into a wordpress plugin. What I think happens is when a payment is received, blochain.info sends back a confirmation message, which will allow the user to proceed to the protected page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Replace Password Protect with QR code?’ is closed to new replies.