diff --git a/backend/src/payments/payment_router.py b/backend/src/payments/payment_router.py index 93723ea..cc42d60 100644 --- a/backend/src/payments/payment_router.py +++ b/backend/src/payments/payment_router.py @@ -18,6 +18,7 @@ router = APIRouter() logger = logging.getLogger(__name__) +# TODO: add the return url in the API payload to redirect the user to the app. @router.post("/orders/new") def create_order( user_id: str, diff --git a/backend/src/payments/test.py b/backend/src/payments/test.py index 383e6af..2bc10b6 100644 --- a/backend/src/payments/test.py +++ b/backend/src/payments/test.py @@ -49,18 +49,18 @@ order_data = { "quantity": 1, "unit_amount": { "currency_code": "CHF", - "value": "5.00" + "value": "1.50" } } ], "amount": { "currency_code": "CHF", - "value": "5.00", + "value": "1.50", "breakdown": { "item_total": { "currency_code": "CHF", - "value": "5.00" + "value": "1.50" } } }