You can pay with any ⚡️ wallet. The invoices are BOLT11 invoices. All proceeds can go directly to any Strike user that you want. For example, if you want to make a paywall and have all proceeds donated to the Human Rights Foundation, you can just go straight here and do that https://www.plebpay.com/create/hrf. If you don't want it, don't use it.
Updated the code and now this is all you need to include on your site if you want to protect it with a PlebPay paywall. Just replace the PlebPay paywall URL with your own PlebPay paywall URL.
Will it only work with Strike? Isn't that a KYC thing? What if I don't want it?
You can pay with any ⚡️ wallet. The invoices are BOLT11 invoices. All proceeds can go directly to any Strike user that you want. For example, if you want to make a paywall and have all proceeds donated to the Human Rights Foundation, you can just go straight here and do that https://www.plebpay.com/create/hrf. If you don't want it, don't use it.
deleted by author
deleted by author
Updated the code and now this is all you need to include on your site if you want to protect it with a PlebPay paywall. Just replace the PlebPay paywall URL with your own PlebPay paywall URL.
<script src="https://www.plebpay.com/redirectIfNecessary.js" type="text/javascript"></script> <script> redirectIfNecessary('https://www.plebpay.com/c5bc98ff-a386-45ba-9b99-c3b16da9cdaf') </script>Deployed a package to npm so disregard previous code snippet. This one is better.
<script src="https://unpkg.com/plebpay-utils@1.0.7/dist/index.js" type="text/javascript"></script> <script> window.PlebPay.redirectIfNecessary('https://www.plebpay.com/c5bc98ff-a386-45ba-9b99-c3b16da9cdaf') </script>Forgot to drop the link to the package 😂
https://www.npmjs.com/package/plebpay-utils
deleted by author
deleted by author
deleted by author
I like that the unlock stays sticky even if I use the same link later 🍌🍞
deleted by author
code is here https://github.com/SamSamskies/protected-by-plebpay-example
deleted by author
deleted by author