mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08:00
Add formatOrderID/parseOrderID helpers to prepend "sub2_" prefix to order IDs sent to EasyPay, Alipay, Wxpay, and Stripe. This makes our orders identifiable in third-party dashboards and prevents ID collision. Callback handlers strip the prefix before looking up the DB record. Internal audit logs keep using raw DB IDs.