fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for expired tokens.
[wolnelektury.git]
/
src
/
club
/
models.py
diff --git
a/src/club/models.py
b/src/club/models.py
index
0d75ec4
..
c5057a7
100644
(file)
--- a/
src/club/models.py
+++ b/
src/club/models.py
@@
-316,7
+316,7
@@
class PayUOrder(payu_models.Order):
if self.status == 'COMPLETED':
self.schedule.set_payed()
if self.status == 'COMPLETED':
self.schedule.set_payed()
- elif self.status == 'CANCELED':
+ elif self.status == 'CANCELED'
or self.status.startswith('ERR-')
:
if self.is_recurring() and self.schedule.expires_at:
self.schedule.send_email_failed_recurring()
if self.is_recurring() and self.schedule.expires_at:
self.schedule.send_email_failed_recurring()