feat: Tiny order sending is switched on from the stack, after the test order
Some checks failed
Build and deploy / Validate source (push) Successful in 7s
Build and deploy / Publish images (push) Has been cancelled
Build and deploy / Secret scan and release gate (push) Has been cancelled
Build and deploy / Integration suite on a real stack (push) Has been cancelled

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 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-14 13:36:14 -03:00
parent f8d76ed27d
commit 5a2e2db49a

View File

@@ -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://<KANBAN_DOMAIN>/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:-}