don't notify user who already have an non-canceled Paddle subscription
This commit is contained in:
parent
4d388a202c
commit
4f9bb59b58
5
cron.py
5
cron.py
|
@ -162,6 +162,11 @@ def notify_manual_sub_end():
|
||||||
LOG.d("%s has a lifetime licence", user)
|
LOG.d("%s has a lifetime licence", user)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
paddle_sub: Subscription = user.get_subscription()
|
||||||
|
if paddle_sub and not paddle_sub.cancelled:
|
||||||
|
LOG.d("%s has an active Paddle subscription", user)
|
||||||
|
continue
|
||||||
|
|
||||||
if need_reminder:
|
if need_reminder:
|
||||||
# user can have a (free) manual subscription but has taken a paid subscription via
|
# user can have a (free) manual subscription but has taken a paid subscription via
|
||||||
# Paddle, Coinbase or Apple since then
|
# Paddle, Coinbase or Apple since then
|
||||||
|
|
Loading…
Reference in a new issue