Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
Support Tipping: Let users add a supporting tip (₹10, ₹20, ₹50, ₹100, or a custom amount) to support your content directly prior to QR code generation.
3. Comprehensive Admin Management (includes/admin.php)
The admin panel offers 11 management submenus for complete oversight:
- Dashboard: High-level summary of subscription health and stats.
- Plans: Create, edit, and delete pricing plans (names, offer prices, actual prices, validity days).
- Members: Manage active premium user profiles.
- Payments & Transactions: Log and verify Paytm transactions, including manual approvals.
- Add Member: Direct interface for admin-initiated membership creation.
- Reports: Detailed charts and logs of revenues, sign-ups, and active users.
- Email Templates: Control templates for notifications (expiry reminders, confirmations).
- Error Logs: Live capture of plugin-level exceptions and gateway communications.
- Purchase Tracking: Analytics showing exactly which post URLs generate the most subscription clicks.
4. Background & Cron Infrastructure (includes/cron.php)
- Automated daily/hourly checks to transition expired subscriptions out of the
premium_userrole. - Automatically updates timed-out pending payment statuses (marks them as failed after 10 minutes to prevent database bloat).
- Auto-sends payment reminders and expiry emails before subscriptions terminate.
- Cleans up stale tracking and purchase clicks.
🚀 Recommended Upgrades & Future Improvements
To elevate the plugin’s professional appeal and make it bulletproof as you scale, here are a few upgrades we can implement next:
Upgrade: Integrate WordPress’s built-in Visual Editor (wp_editor) on the email templates submenu so you can easily style your confirmation emails with custom colors, headers, and media.
Local QR Code Generation (Offline Resiliency)
Current Status: Renders QR codes using a external server API (api.qrserver.com). If that API is offline or slow, checkout stalls.
Upgrade: Integrate a local JavaScript QR generator (like qrcode.js) or local PHP QR library so QR codes generate directly on your server instantly with zero external dependencies.
WebShare / Copy Link Integration for In-App WebView Redirection
Current Status: Redirection scripts notify users to open in Chrome/Safari.
Upgrade: Add a “Copy Link” button and a native mobile “Share Link” popup button to make it easy for users on Facebook/Instagram to tap, copy, and paste the URL into their default browser app.
Frontend Member Portal (Shortcode-driven Dashboard)
Current Status: Members can only view their active plan name via shortcodes.
Upgrade: Build a frontend account page shortcode ([jb_member_portal]) where users can log in, view their payment invoice history, renew or extend their current active plan, and see a visual progress bar indicating how many premium days they have left.
Rich Visual Email Template Designer
Current Status: Admin edits HTML templates in a plain textarea box.