You said that you felt extremely depressed and even began to doubt life...\" When problems arise, you begin to search for various solutions and begin to doubt life. . . . Fin" />
Current location - Quotes Website - Personality signature - Prompt when receiving WeChat payment: Payment verification signature failed
Prompt when receiving WeChat payment: Payment verification signature failed

" <> You said that you felt extremely depressed and even began to doubt life..."

When problems arise, you begin to search for various solutions and begin to doubt life. . . .

Finally found a life-saving straw:

android sdk prompt: payment verification signature failed

Reason: Unify the number of sign digits returned by the order, and follow the issuance The number of signs given to the app must be the same!

In other words: the signature types must be the same.

The sign returned by unified ordering is md5, and the signature sent to the App must also be md5;

The sign returned by unified ordering is HMAC-SHA256, and it is sent to the App. The HMAC-SHA256 signature must also be used.

If calling unified order is ok! The problem is here, the reference link is as follows: (Thank you!!!)

After obtaining the prepay_id, sign and transmit the parameters to the APP again to initiate payment

WeChat Open Community: Official Answer< /p>

Payment verification signature failed

Appendix: WeChat payment-direct official website link

APP development steps

WeChat payment interface signature verification tool

API list (unified order placement, payment interface activation, payment result notification...)

Android quick access

WeChat Pay APP payment example< /p>

WeChat Development Kit (SDK), SDK Demo, signature generation tool

Frequently Asked Questions about WeChat Payment Development