OWNER MoMo sandbox — refresh 2026-08-14
Domain: D-PAY · WP: WP-PAY-LIVE-01 (MoMo slice) Surfaces: API · VPS Agent: re-smoke
POST /payments/init{ provider: MOMO }— no secrets printed
VPS env (presence)
| Key | Value |
|---|---|
MOMO_ENV |
sandbox |
MOMO_ENDPOINT |
https://test-payment.momo.vn/v2/gateway/api/create |
| Partner / access / secret | SET (len 16 / 16 / 32) |
| IPN / return | https://api.minhtien.cloud/api/v1/payments/momo/ipn · .../return |
Smoke
| Step | Result |
|---|---|
| providers | momo=configured · preferred=VNPAY |
POST /payments/init MOMO |
400 · "Cấu hình doanh nghiệp không chính xác hoặc tài khoản không hoạt động." |
| VNPay (control) | 201 sandbox still PASS |
OWNER action
- Đăng nhập MoMo for Business / sandbox portal.
- Kích hoạt / sửa merchant sandbox (partner code khớp VPS).
- Xác nhận IPN URL public đúng như trên.
- Paste key mới vào VPS
api/.env(nếu đổi) → recreatewelife-api. - Nhắn agent
MoMo ready→ agent chạy lạiscripts/smoke-pay-vps.sh.
MoMo không block go-live: app mặc định VNPay.