From 5a2e2db49a321e6ff163e8eb86403e3498487b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Wed, 14 Oct 2026 13:36:14 -0300 Subject: [PATCH] feat: Tiny order sending is switched on from the stack, after the test order TINY_ADAPTER was written as fake in docker-compose.yml, so sending paid orders to Tiny needed a code change. It is now a stack setting, still fake by default, to set to tiny once the supervised test order has passed. Co-Authored-By: Claude Opus 5.5 --- docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index b8efbaf..77d8e06 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -68,7 +68,9 @@ x-app-environment: &app-environment # client's account (Tiny has no sandbox). The application credentials can be # set now: they let an operator connect Tiny from the Kanban, and the worker # keeps that connection alive. Callback: https:///api/operator/tiny/callback - TINY_ADAPTER: fake + # fake until the supervised test order (python -m app.tiny_probe pedido) has + # passed on the client's account; then tiny, set in the stack. + TINY_ADAPTER: ${TINY_ADAPTER:-fake} TINY_CLIENT_ID: ${TINY_CLIENT_ID:-} TINY_CLIENT_SECRET: ${TINY_CLIENT_SECRET:-} TINY_REDIRECT_URI: ${TINY_REDIRECT_URI:-}