About H5 payment and official account payment in Wechat

previously made Wechat official account payment, all obtained openid through user authorization and then called wx-jssdk to pay, but now there is a demand is Wechat web page, account password login, no openid, how to call WeChat Pay in this case? This is the H5 payment in the official account rather than the external environment H5 of Wechat evoking WeChat Pay.
while looking at the document, I saw Wechat H5 called up the payment , and looked at the basic same input parameters as before, but the background said that I couldn"t get these parameters without openid. I would like to ask you to give me an idea, or the address of the relevant documents, if you have done something similar. After looking around, I couldn"t find it.

May.15,2022

openID refer to Wechat documentation. You can get a jump directly with base authorization. When the user enters, you can get such a silent authorization to ID and then store it in Session

.

add: related documentation Please refer to snsapi_base authorization

after looking at your question again, I'm not sure what you want to ask. H5 in Wechat? Official account page?. If my answer doesn't help, just ignore it


the idea discussed by the team at present is:
Wechat h5 page, login with account password, no Wechat authorization, and the account is not bound to Wechat, without openid and uid
when you bring up WeChat Pay, call up Wechat silent authorization to obtain the current WeChat openid, which is used to place orders uniformly. The openid will not be bound to this account.

if you log in with Wechat at the beginning, you need to bind your mobile phone number (account password), click authorization, and bind openid and uid to the account. In the future, no matter whether the account password is logged in or Wechat is logged in, openid will not affect its payment, and there is no need to pull up silent authorization

.
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-1b2240c-339ad.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-1b2240c-339ad.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?