Home > Backend Development > PHP Tutorial > Payment verification signature payment failed? —— WeChat Pay app payment

Payment verification signature payment failed? —— WeChat Pay app payment

WBOY
Release: 2016-09-21 14:12:55
Original
2079 people have browsed it

What is the problem? Is there a problem with the data returned by the background?

Payment verification signature payment failed? —— WeChat Pay app payment

Reply content:

What is the problem? Is there a problem with the data returned by the background?

Payment verification signature payment failed? —— WeChat Pay app payment

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.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template