add test mode to enrollments

This commit is contained in:
2026-01-28 19:11:52 -03:00
parent fc14d425f2
commit 2b34caa3be
14 changed files with 65 additions and 260 deletions

View File

@@ -277,6 +277,14 @@ def checkout(payload: Checkout):
'created_at': now_,
}
)
transact.put(
item={
'id': order_id,
'sk': 'SCHEDULED#AUTO_CLEANUP',
'ttl': ttl(start_dt=now_, days=7),
'created_at': now_,
}
)
return JSONResponse(
body={'id': order_id},