Home >Backend Development >PHP Tutorial >Payment verification signature payment failed? —— WeChat Pay app payment
What is the problem? Is there a problem with the data returned by the background?
What is the problem? Is there a problem with the data returned by the background?
The merchant number key value needs to be checked, or access_token
Check the algorithm for generating signatures
Oh, you are all right, it’s because of the signature issue. The background sign does not have algorithm MD5 encryption. There is also package=Sign=WxPay. It is best to write it like this, otherwise the payment will fail to parse
This kind of problem should be caused by incorrect data passed in from your side. Read their API documentation carefully.