Subscription Lifecycle
Managing your subscription
Understand how subscriptions work in CodePlanet — from purchase to renewal, cancellation, and reactivation.
Subscription States
State Definitions
| State | Description |
|---|---|
| FREE | No active subscription, using free tier |
| ACTIVE | Paid subscription is active and current |
| EXPIRING | Cancelled but time remaining |
| EXPIRED | Subscription period ended |
| CANCELLED | User cancelled, no access |
Purchase Flow
1. User Selects Plan
2. Payment Processing
3. Subscription Activated
- User's plan is updated in database
- Features unlocked immediately
- Welcome email sent
- Dashboard reflects new plan
Billing Cycle
Monthly Subscriptions
- Billed on the same date each month
- If the date doesn't exist (e.g., 31st), billed on last day of month
- Payment attempted 3 days before renewal
Annual Subscriptions (Planned)
- 2 months free (pay for 10, get 12)
- Billed once per year
- Renewal reminder 7 days before
Cancellation
How to Cancel
- Go to Settings → Subscription
- Click "Cancel Subscription"
- Confirm cancellation
- Access continues until period ends
What Happens
- State changes to EXPIRING
- Features remain until period ends
- No future charges
- Can reactivate anytime
Grace Period
After expiration, you have 7 days to reactivate at the same rate before being moved to FREE tier.
Reactivation
From EXPIRING
If you cancelled but still have time remaining:
- Go to Settings → Subscription
- Click "Reactivate"
- Cancellation is reversed
- Billing continues as normal
From EXPIRED
If your subscription expired:
- Go to Pricing
- Select your plan
- Complete payment
- Access restored immediately
Plan Changes
Upgrading
Upgrading takes effect immediately:
Example:
- 15 days left on Developer (₹299)
- Upgrading to Pro (₹799)
- Credit: ₹299 × (15/30) = ₹150
- Charge: ₹799 - ₹150 = ₹649
Downgrading
Downgrading takes effect at next billing:
Failed Payments
If a payment fails:
| Attempt | Timing | Action |
|---|---|---|
| 1st | Due date | Email notification |
| 2nd | +3 days | Email + dashboard warning |
| 3rd | +7 days | Final warning |
| 4th | +10 days | Subscription cancelled |
Updating Payment Method
- Go to Settings → Billing
- Click "Update Payment Method"
- Enter new card/UPI
- Retry failed payment
Refunds
Refund Policy
- Within 7 days: Full refund, no questions asked
- After 7 days: Prorated refund minus transaction fees
- Abuse: No refund for ToS violations
How to Request
- Email support@acodeplanet.tech
- Include order ID and reason
- Refund processed within 5-7 business days
Subscription Data
API
Webhooks
Subscribe to these events:
subscription.createdsubscription.updatedsubscription.cancelledsubscription.expired
FAQ
Can I pause my subscription?
Not currently. You can cancel and reactivate later.
What happens to my data if I cancel?
Your data is retained for 1 year. You can export anytime.
Can I switch between monthly and annual?
Annual plans are planned for a future release. Currently, only monthly billing is available.
Do you offer student discounts?
Yes! Email support with your .edu email for 50% off.
Is there a team plan?
Planned for a future release. Join the waitlist at acodeplanet.tech/teams.
Next Steps
- Pricing & Plans — Compare plans
- Razorpay Integration — Payment details
- Billing FAQ — Common questions