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.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be218b-315f0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be218b-315f0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?