Look at what the client receives
requestPayment parameters are signed server-side, and a missing field or wrong type fails immediately. Common cases are a millisecond timestamp, a repeated nonce, or a sign type that does not match the implementation.
Print the raw server response and the client-side parameters side by side; the mismatch is usually obvious.
Then check the binding
The mini program appid must be bound to the merchant account, and in partner mode the sub-merchant must be bound to the appid. Unbound setups produce vague errors that get misread as signature problems.
Also confirm whether you are hitting production or sandbox; parameters are not interchangeable.
Paid but the order did not change means callbacks
The callback URL must be publicly reachable over HTTPS, handle duplicate notifications, and return a success response. Returning anything else triggers repeated notifications while your order state stays stale.
Make callback handling idempotent and monitored: you want to know about failures before customers report them.
FAQ
Cashier opens but says the merchant account is abnormal.
Check the account status, whether binding to the appid is complete and whether it is still valid. These messages usually point at configuration and status, not code.
Works in test but not in production?
Usually different merchant accounts, certificates or callback URLs. Compare configuration item by item, especially whether the callback domain is configured in the mini program backend.
Customer paid but was charged twice?
Duplicate charges usually come from retry logic creating multiple orders. Key idempotency on your business order number and verify amount and order number in the callback.
Related questions
Further reading
- WeChat Pay Merchant Setup Service details
- Debugging WeChat Pay Callbacks: Did the Request Arrive
- What Are the Common API Configuration Errors in Official Account Development? A Checklist Approach
- What to Do When Alipay Merchant Setup Documents Are Rejected? Correction Tips and Document Checklist
- Why WeChat Pay Settlements Get Delayed: Checking Order, Records and Bank Side
Sources & References
The following are public sources. Always check the latest requirements on the official authority or platform page.
