- New registrations get all the bells and whistles
- Do not bill entitlement's first month compared against the wallet's creation date
Details
Details
- Reviewers
machniak - Group Reviewers
Restricted Project - Commits
- rK368428f6d299: Establish a month of free trial
None
Diff Detail
Diff Detail
- Repository
- rK kolab
- Branch
- arcpatch-D1504
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 30898 Build 11500: arc lint + arc unit
Event Timeline
Comment Actions
- Tests
- It will not create transaction records when $charges=0. See debit().
- So, if you rise your quota on the day after signup, it will not be free. I.e. free are only the default entitlement. Maybe that's good and maybe it will need some faq entry?
Comment Actions
You would first hit 83, but yeah, maybe it's better to yet again compare not isSameDay but diffInMonths() <= 1 or something.
Comment Actions
Rebase on current master;
- Move forward any entitlements if we find the wallet is in the first month
- Apply the first free month trial period, here too
src/app/Wallet.php | ||
---|---|---|
64 | Maybe it should be $this->owner->created_at? In case this is a second wallet created later. |