Home > Backend Development > PHP Tutorial > When WeChat payment is completed, the parameter received by notify_url does not contain product_id. It gives an openid. What should I do if I am a mobile phone user?

When WeChat payment is completed, the parameter received by notify_url does not contain product_id. It gives an openid. What should I do if I am a mobile phone user?

WBOY
Release: 2016-08-26 10:28:25
Original
1664 people have browsed it

这是发给我的数据:













2


回复内容:

这是发给我的数据:













2


首先,out_trade_no是你自己生成的,你可以根据这个number去找到相应的数据库数据(你不可能自己不保存吧)
另外生成订单时,用attach来添加额外参数,在通知时会原样返回。

Related labels:
php
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