forked from MarseyWorld/MarseyWorld
check for existing in /gumroad
parent
28b4f07493
commit
71b97c1a15
|
@ -1432,6 +1432,10 @@ def gumroad():
|
|||
abort(400)
|
||||
|
||||
id = data['sale_id']
|
||||
|
||||
existing = g.db.get(Transaction, id)
|
||||
if existing: return ''
|
||||
|
||||
created_utc = time.time()
|
||||
type = data['recurrence']
|
||||
amount = int(data['price']) / 100
|
||||
|
|
Loading…
Reference in New Issue