Ask WeChat Pay about the callback notice.

our website is configured in this way (assuming the domain name is abc.com):
PC version https://abc.com
mobile https://m.abc.com
PC version uses QR code to scan payment, mobile version uses H5 payment (wake up Wechat from the browser).
callback address https://abc.com/callbacks/wxpay

now that there is no problem with the PC version, you can receive a callback notification. But the mobile version can not receive the notice, but the payment is successful, what may be the reason?

thank you!

Php
Jul.07,2022

is this the Url of your pc and H5 callback notifications?


the callback address is the domain name of the PC side, and the mobile end is the m station, so of course you can't receive it.
if the payment is successful, it may just judge the return_code, but this is only the communication logo, not the transaction logo. You need to check result_code to determine whether the transaction is successful.

Menu