• erio's avatar
    fix(payment): store provider config as plaintext JSON with legacy ciphertext fallback · fd0c9a13
    erio authored
    Without TOTP_ENCRYPTION_KEY, saved payment configs were lost on restart because
    the AES round-trip failed silently. Write new records as plaintext JSON; read
    path tries JSON first, falls back to legacy AES decrypt when a key is present,
    and treats unreadable values as empty so admins can re-enter them via the UI.
    fd0c9a13
payment_config_providers.go 11.3 KB