I met a requirement: I made an h5 website and put it in different official accounts (that is, click on the custom menu bar of the official account). I need to record the source of the official account (that is, record the order placed from different official accounts). Which official account placed the order specifically? Do you have any ideas?
I met a requirement: I made an h5 website and put it in different official accounts (that is, click on the custom menu bar of the official account). I need to record the source of the official account (that is, record the order placed from different official accounts). Which official account placed the order specifically? Do you have any ideas?
Just add a get parameter after the connection to identify the source
I don’t know exactly what payment method you use. The data sent by the callback after successful WeChat payment has an appid that is the appid of the official account. Platforms can be distinguished
When configuring payment on the website, you can only bind one official account, so it has nothing to do with which official account is bound to the payment. Wherever it is linked, payment will be made to one account, and the official account payment page must be configured. Each account (public account) No.) It seems that only three websites can be configured, so it has nothing to do with this. But how the user opens the page can be obtained. Open the page through
https://mp.weixin.qq.com/wiki...
The interface obtains the openid. Each user corresponds to the openid of each public account. It is unique, and you can determine the source of which public account.