Setting up Leaky Paywall
After installing the plugin, follow the steps below to begin using Leaky Paywall on your site. In the WordPress admin, go to Leaky Paywall > Settings > General.
1. Create a page for login
Add the shortcode [leaky_paywall_login] to your login page and on the Leaky Paywall options select the page from the Page for Log In dropdown.
2. Create a page for subscribe cards
Add the shortcode [leaky_paywall_subscription] to your subscription page and on the Leaky Paywall options select the page from the Page for Subscription dropdown.
3. Create a page for register form
If you will be using the registration form, add the shortcode [leaky_paywall_register_form] to your register page and on the Leaky Paywall options select the page from the Page for Register dropdown.
4. Create a My Profile or My Account page
Add the shortcode [leaky_paywall_profile] to your my profile page and on the Leaky Paywall options select the page from the Page for Profile dropdown. If using multisite, the My Account page will also show all current subscriptions that a subscriber has running in one spot regardless of which publication they are visiting.
On this page a subscriber can:
- Change their personal info
- See what they are subscribed to
- Update their credit card info with Stripe. PayPal simply links them to PayPal.
- Cancel their subscriptions
- Log in and out
5. Add links to your subscription and login pages
You could place them in your main menu or a sidebar widget.
6. Set the content restriction options
Choose the type of content to restrict and how many views are allowed. For more detailed information on our content restrictions and how they work, please view our article ‘How Leaky Paywall’s Content Restrictions Work‘.
When a user hits their article limit, they will see the the subscribe nag with a message to subscribe or login.
7. Create subscription levels
Set the name of the subscription level, if it will be recurring (or one time), the price of the subscription in dollars, the subscription length, and what the user has access to with the subscription level. You can add multiple access options by clicking on “Add New Post Type”.
You can create as many levels as you need using our Multiple Levels add-on.You can create recurring subscriptions using our Recurring Payments add-on.
8. Enter payment gateway settings
Choose Stripe, Paypal Standard, or both. Enter the API keys from your Stripe and/or Paypal accounts.
For Stripe make sure you add your webhooks URL to your Stripe account settings (your Live Webhooks setting):
This is needed in order to ensure Leaky Paywall knows when a new payment has been made.
Next add your Live and Test Keys to Leaky Paywall. In Stripe if you go to Account Settings -> Webhooks, it should have something like this:
Add the webhooks you need to the Leaky Paywall Settings/Payment Gateway Settings screen
9. Add A Registration Form
If you choose Stripe Credit Card as your payment gateway and/or enable Paypal on the registration page, then you will need to create a page for the Registration form. Add this shortcode to the page: [leaky_paywall_register_form]
Then, in Leaky Paywall General settings select your registration page as the Page For Register Form setting.
10. Create a welcome email message
New subscribers will get a custom message from you. You can use HTML for a fancier email if you like. Note: Stripe requires a $0.50 minimum transaction to trigger welcome messages.
11. New subscriber redirect
New subscribers will redirect to the page of your choosing. A good choice is to select the My Account page to go to after a new subscriber signs up.
If you would like to redirect a subscriber back to the content they were viewing before registering, use our Registration Redirect add-on.