Why emulators hide it
Emulators generally do not enforce signature checks and do not have the real WeChat client, so everything passes locally. Only the real client matches package name and signature at runtime.
Verify by building with the release signature, installing on a real device, and running login and payment with a real account.
Where the signature comes from
On Android the value is the MD5 of the signing certificate, without colons and in lowercase, computed from the release certificate rather than the debug one. iOS uses the Bundle ID and has no signature. Wrong values on the open platform do not fail immediately; they fail when the API is called.
Hardening and channel re-signing change the signature. If a build passes through those steps, register the signature of the final released package.
What to update after a signature change
Open platform app details, the WeChat Pay binding, and any third-party SDK configuration all need updating. Changing one leaves the others stale.
We help check configuration and integration; app review and qualification are decided by the platform. If hardening is involved, build a signature check into the packaging pipeline.
FAQ
Will users be affected by a signature change?
Yes. On Android, an app with a new signature cannot upgrade over the old install; users must uninstall and reinstall. Plan for user loss and guidance.
How does a wrong signature show up?
Typically WeChat login returns failure immediately, or payment errors when the cashier opens. Messages are not always explicit, so check configuration before logs.
Does iOS need a signature value?
No, iOS identifies apps by Bundle ID. Ensure the Bundle ID matches the open platform registration and the provisioning profile.
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.
