UIWebView Payment Processing

2019-08-26 03:05发布

问题:

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.

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.

Will it get accepted in the AppStore?

Or will I have to leave my app and go to Safari to finish the transaction?

thanks

回答1:

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.