Skip to content

Commit

Permalink
Update payment.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wanganxp committed Sep 21, 2019
1 parent 8a6b0cc commit 24afe83
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/api/plugins/payment.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ uni.requestPayment是一个统一各平台的客户端支付API,不管是在
- Q:App端如何集成其他支付SDK
- A:使用原生插件方式,可以集成如paypal或三方聚合支付sdk,原生插件开发文档见[https://ask.dcloud.net.cn/article/35428](https://ask.dcloud.net.cn/article/35428)。开发之前可以先去[插件市场](https://ext.dcloud.net.cn/)看下有没有做好的。

- Q:Appstore审核报PGPay SDK不允许上架的问题
- A:数字类产品(比如购买会员等不需要配送实物的商品),Apple规定必须使用苹果IAP应用内支付,给Apple分成30%。打包的时候不要勾选微信或支付宝等其他支付方式。如果你提交的包里包含了微信支付宝等支付的sdk,即使没使用,Appstore也会认为你有隐藏方式,以后会绕过iap,不给Apple分成,因此拒绝你的App上线。云打包时,manifest里选上支付模块,但sdk配置里去掉微信支付和支付宝支付。很多开发者的Android版是包含微信和支付宝支付的,此时注意分开判断。

**示例**

App 支付
Expand Down Expand Up @@ -262,4 +265,4 @@ uni.requestPayment({
}
}
</script>
```
```

0 comments on commit 24afe83

Please sign in to comment.