add payment retries

This commit is contained in:
2026-01-15 19:33:32 -03:00
parent 6d078d178b
commit ca52384b53
7 changed files with 116 additions and 1 deletions

View File

@@ -112,6 +112,7 @@ def sample(course_id: str, s3_uri: Annotated[str, Body(embed=True)]):
# Send template URI and data to Paperforge API to generate a PDF
r = requests.post(
PAPERFORGE_API,
timeout=(1, 3),
json={
'template_uri': s3_uri,
'args': {