---
id: keep-omg-independent
trigger: "when implementing or modifying OMG payment functionality"
confidence: 0.9
domain: "architecture"
source: "claude-code-memory-import"
---

# Keep OMG payment independent from NewebPay

## Action

- Do not import or reuse NewebPay-specific code, encryption, credentials, or payment tables in OMG functionality.
- Use OMG's independent `CheckMacValue` SHA-256 flow and OMG-specific credential, payment, and refund data.
- Reuse only gateway-neutral platform infrastructure such as order lifecycle, push, and order logging.

## Evidence

- Imported from Claude Code project memory `project-016-omg-payment.md` on 2026-08-10.
- Current API signatures and implementation status must be verified from the repository rather than copied from the dated memory.
