witten
/
luminotes
Archived
1
0
Fork 0

For now, ignore cancellations.

This commit is contained in:
Dan Helfman 2009-07-05 00:04:50 -07:00
parent a75e4f48aa
commit 2c0ad3a848
1 changed files with 5 additions and 4 deletions

View File

@ -1523,10 +1523,11 @@ class Users( object ):
self.update_groups( user )
self.__database.commit()
elif txn_type == u"subscr_cancel":
user.rate_plan = 0 # return the user to the free account level
self.__database.save( user, commit = False )
self.update_groups( user )
self.__database.commit()
pass # HACK: for now, ignore cancellations
# user.rate_plan = 0 # return the user to the free account level
# self.__database.save( user, commit = False )
# self.update_groups( user )
# self.__database.commit()
elif txn_type in ( u"subscr_payment", u"subscr_failed", "subscr_eot" ):
pass # for now, ignore payments and let paypal handle them
else: