- FASE-0: Diagnostic audit of 500+ files, 33 findings cataloged (7P0/8P1/12P2/6P3) - FASE-1: Resolved 7 P0 critical conflicts (ports, paths, dedup OQI-010/ADR-002, orphan schemas) - FASE-2: Resolved 8 P1 issues (traces, README/CLAUDE.md, DEPENDENCY-GRAPH v2.0, DDL drift, stack versions, DoR/DoD) - FASE-3: Resolved 12 P2 issues (archived tasks indexed, RNFs created, OQI-010 US/RF/ET, AGENTS v2.0) - FASE-4: Purged 3 obsolete docs to _archive/, fixed MODELO-NEGOCIO.md broken ref - FASE-5: Cross-layer validation (DDL→OQI 66%, OQI→BE 72%, BE→FE 78%, Inventories 95%) - FASE-6: INFORME-FINAL, SA-INDEX (18 subagents), METADATA COMPLETED 27/33 findings resolved (82%), 6 P3 deferred to backlog. 18 new files created, 40+ modified, 4 archived. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
37 lines
987 B
Markdown
37 lines
987 B
Markdown
---
|
|
id: RNF-PAY-001
|
|
title: "Requerimientos No Funcionales - Pagos Stripe"
|
|
type: "Non-Functional Requirement"
|
|
epic: OQI-005
|
|
version: "1.0.0"
|
|
created_date: "2026-02-06"
|
|
---
|
|
|
|
# RNF-PAY-001: Requerimientos No Funcionales - Pagos Stripe
|
|
|
|
## Seguridad
|
|
- PCI DSS compliance (via Stripe Elements, no raw card data)
|
|
- Webhook signatures verificadas (Stripe-Signature header)
|
|
- Idempotency keys en todas las operaciones de pago
|
|
- Audit trail completo de transacciones
|
|
|
|
## Rendimiento
|
|
- Payment intent creation < 1s
|
|
- Webhook processing < 5s
|
|
- Refund processing < 30s
|
|
|
|
## Confiabilidad
|
|
- Idempotent payment operations (retry-safe)
|
|
- Webhook retry handling (Stripe retries up to 3 days)
|
|
- Transaction atomicity: payment + wallet credit atomico
|
|
|
|
## Monitoreo
|
|
- Alert on failed payments > 5% rate
|
|
- Daily reconciliation con Stripe dashboard
|
|
- Wallet balance audit trail completo
|
|
|
|
## Compliance
|
|
- Invoices generados para toda transaccion
|
|
- Refund window: 30 dias
|
|
- Multi-currency support (USD primary)
|