feat: Site orders carry DTF-<n> as Tiny's numeroPedidoEcommerce
All checks were successful
Build and deploy / Validate source (push) Successful in 4s
Build and deploy / Integration suite on a real stack (push) Successful in 3m47s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m14s

Dropstar asked on 2026-10-23 for the Kanban number in numeroPedidoEcommerce.
It goes there on every order now, next to numeroOrdemCompra, which the
resend check still searches. Tiny's v3 model takes the e-commerce block
without a channel id; TINY_ECOMMERCE_ID adds one and can now be set in the
stack. The supervised test order reads the number back from Tiny and fails
if Tiny did not keep it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-26 11:47:21 -03:00
parent 88819c3a5f
commit 93cb289940
5 changed files with 45 additions and 7 deletions

View File

@@ -398,8 +398,11 @@ Done on 2026-10-26: the single price per product Dropstar asked for on
2026-10-23 (see Commercial rules), on the Site and the server.
Still to do (2026-10-26):
- The DTF number in Tiny's `numeroPedidoEcommerce` (today it is the purchase
order, `numeroOrdemCompra`); confirm at the supervised Tiny test order.
- The DTF number in Tiny's `numeroPedidoEcommerce`: sent since 2026-10-26,
next to the purchase order `numeroOrdemCompra` (which the resend check
searches), with no channel unless `TINY_ECOMMERCE_ID` is set; Tiny's v3 API
cannot list channels or take one by name. Confirm at the supervised Tiny
test order: the probe reads the number back and fails if Tiny dropped it.
- Waiting on Dropstar: the DTF SITE category's numeric id (CATEGORY in
app/tiny.py is still DUPLICADO DROP), their flow image (removing Fila de
impressão, a Revisão column and a Revisor profile, the only one to move to