UIWebView 支付处理 [英] UIWebView Payment Processing
问题描述
我正在为应用中的实体商品实施一个购买系统,因为它不是数字商品,因此不会被归类为应用内购买.
I am implementing a purchasing system for physical items in an app, because it's not digital goods it won't be classed as in-app-purchase.
我需要使用的支付服务没有公共 API.所以我想知道我是否可以在 UIWebView 中点击他们的网址并通过那里付款.
The payment service I need to use don't have a public API. So I was wondering if I can hit their url in a UIWebView and make the payment through there.
它会被 AppStore 接受吗?
Will it get accepted in the AppStore?
还是我必须离开我的应用程序并转到 Safari 才能完成交易?
Or will I have to leave my app and go to Safari to finish the transaction?
谢谢
推荐答案
您的方法很好,无需切换到 safari.只需确保 url 具有 https
前缀,以便通过 ssl 处理信用卡.
Your approach is fine, no need to switch out to safari. Just make sure the url has the https
prefix so that the creditcard is processed over ssl.
这篇关于UIWebView 支付处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!