Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1459 Widoki

How do I set up an automatic email reminder in the subscription module 14 days before the subscription ends?


I set it in SUBSCRIPTIONS > AUTOMATIC RULES


I provide:

action = send e-mail to client

trigger = time, subscription_end_date, -14 days


The trigger is incorrect, despite the subscription end date, i.e. the next invoice date on 12/2025, the message is sent.


Problems:


1) despite the e-mail being on the list in the subscription card, it does not physically reach the mailbox

2) the trigger is incorrect, despite the subscription end date, i.e. the next invoice date on 12/2025, the message is sent - and it is not 14 days earlier


I think I am setting the wrong trigger?

Awatar
Odrzuć
Autor Najlepsza odpowiedź

It worked! It works - "ValueError: KeyError('subscription_start_date') while evaluating

'model._check(True)'" is a key error. I changed it to var invoice next date, removed the automatic rules that contained the wrong record and it works.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lis 24
921
0
kwi 23
1806
0
sie 21
2896
1
cze 25
764
3
cze 25
2526