400e1b4ab6
fixes https://github.com/TryGhost/Team/issues/2644 A 3D secure payment first has a status of incomplete, then active. With the current logic, this creates 2 MemberPaidSubscriptionEvents: - `created` with mrr_delta of 0 - `active` with mrr_delta of 5 We need to also count 'active' events. And to complement that, also 'inactive' events to make sure we balance out in rare cases. |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
package.json | ||
README.md |
Stats
Stats service
Usage
Test
yarn lint
run just eslintyarn test
run lint and tests