IDEN
← Troubleshooting
Payment

Midtrans not configured

Symptoms

  • Payment status PENDING_CONFIGURATION
  • QRIS/VA does not appear in the order detail
  • provider: stub in the response

Likely causes

  • The server has no MIDTRANS_SERVER_KEY (and client key) so the payment provider runs in stub mode

How to fix

  • Set MIDTRANS_MERCHANT_ID / MIDTRANS_CLIENT_KEY / MIDTRANS_SERVER_KEY / MIDTRANS_IS_PRODUCTION in the server/Vercel env, then Refresh the order detail