What is the difference between Wechat H5 payment and official account payment under non-Wechat browser?

the official account of Wechat has been used for payment before. You need to confirm the authorization and then get the openid to call wx-jssdk for WeChat Pay. The scene must be in Wechat.
the current situation is that Wechat may also be in the browser, but enter the account password to log in, do not rely on Wechat authorization, can not get openid, so can not directly call Wechat official account to pay. We can only rely on Wechat H5 payment, but the official H5 payment case is that WeChat Pay can only be aroused through deeplink outside Wechat. If you are in Wechat, please open it in a browser outside Wechat. Then the problem comes
I am in Wechat, enter the account password to log in, there is no openid, so I cannot use the official account to pay, but H5 payment also indicates that it can only be used outside Wechat"s browser, so how can I solve this situation?

Mar.18,2021

Wechat can only use official account or Mini Program to pay

it is recommended to obtain the user's openid when logging in (use snsapi_base silent authorization, document connection ), and save it for payment

.
Menu