Release v1.23
Release v1.23
Changes in this release:
- Bump version to 1.23 (6b40e22)
- release (b0c8988)
- ✅ Key Features Implemented: 1. Subscription Detection Automatically detects subscription purchases using subscription_id, is_recurring_charge, and recurrence parameters Stores subscription metadata for each user 2. Role Assignment on Subscribe Works exactly like normal purchases - assigns roles based on your product configuration Stores subscription info: subscription_id, recurrence type (monthly/yearly), and status 3. Role Removal on Cancellation Detects cancellations when Gumroad sends refunded=true with a subscription_id Automatically removes the roles that were assigned for that product Updates subscription status to "cancelled" in user metadata 4. Subscription Metadata Tracked gumroad_subscription_id - The subscription ID gumroad_is_recurring - Whether it's a recurring charge gumroad_recurrence - Frequency (monthly, yearly, etc.) gumroad_subscription_status - Active or cancelled gumroad_subscription_start - When it started gumroad_last_payment - Last payment date gumroad_subscription_cancelled_date - When it was cancelled 5. Logging All subscription actions (creation and cancellation) are logged in the User Log New "Cancelled" status with 🚫 icon Shows which roles were removed and subscription details How It Works: On First Subscription Payment: User is created/updated with roles assigned (just like normal purchase) On Recurring Payments: Roles remain, last payment date is updated On Cancellation/Refund: Plugin detects refunded=true + subscription_id and removes the assigned roles Product-Specific: Respects your product-specific role configuration - removes only the roles that were assigned for that product (4bba137)
Full Changelog: v1.22...v1.23