Adrian Flores Cortes
|
32ac439c76
|
[TASK-2026-01-25-ERP-INTEGRACIONES] feat: Add payment terminals DDL
- Add schema payment_terminals with 5 tables
- tenant_terminal_configs: Multi-tenant credentials (MercadoPago, Clip)
- terminal_payments: Transaction records
- terminal_webhook_events: Webhook event log
- terminal_retry_queue: Retry queue with exponential backoff
- terminal_payment_links: Payment links
- RLS policies for tenant isolation
- Helper functions for retry calculation and expiration
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-25 01:32:16 -06:00 |
|