Upload
gabriel-koen
View
64
Download
1
Tags:
Embed Size (px)
Citation preview
WordPress.com VIP Developer Workshop • May 5, 2015
IMPLEMENTING A PAYWALL ON WORDPRESS.COM VIP
1) Validate login, reloads the page for logged-in users if necessary
2) Sends/receives login and logout requests
vary_cache_on_function()
Paywall content in the theme
REQUIREMENTS• Non-leaky
• Blocked content does not appear in code
• Multiple providers
• Subscription fulfillment service, organization licenses, ULS-only accounts, etc.
• Portable
• Easy to implement on other sites
• Scalable
• Cached on WP VIP, Node.js-powered backend
• Respects subscription rules
• Active, inactive, unpaid, grace period, etc.
• Concurrency enforcement
• Limit on browser sessions, different limit for app users, different limit for organization licenses
Gabriel Koen@mintindeed
Thank You
Corey Gilmore@coreygilmore