APP支付和h5支付同一个openID

微信支付 文章 2021-03-17 22:41 254 0 全屏看文

AI助手支持GPT4.0

APP支付和h5支付同一个openIDAPP payment and h5 payment have the same openID

APP支付和h5支付同一个openID

翻了之前的项目,发现做app支付有一个AppiD;

之后又新做了h5支付,不同的项目,用的也是APP的那个Appid;

想问一下,微信app支付、native支付、h5支付、jsApi支付都可以用同一个账号吗?

After looking at the previous project, I found that there was an appid for app payment. Later, I made H5 payment. Different projects also use the appid of the app. Would you like to ask, can wechat app payment, native payment, H5 payment and jsapi payment all use the same account?

回答:

跨商通:

1、如果前端拉起支付的函数里,可以任意填openid,那么,你基本可以互相串用;

2、小程序里wx.requestPayment是不能填openid的,所以只能用小程序的openid,其他的openid都不行。

青寒:

所以标题里的openid是什么鬼?

Memory:

可以都使用一个商户号

羽落:这个我知道,,我们项目app、native、h5支付用的同一个APPID,现在有个新需求需要用到jsApi支付(为了实现h5页面在微信内置浏览器打开可以微信支付),但是需要在公众号配置一个“网页授权域名”,所以才有了上面的问题
Memory:jsapi这个呢,需要服务号

-EOF-

AI助手支持GPT4.0