问题
How can I accept credit card payments from within my iPhone app? The Credit Card Terminal is a good solution but that would mean my app's users have to have their iPhone app installed as well!
How can I do it all from within the app (using a UIWebView if need be)?
I did check out related questions on SO but none really answered the question.
This is not for in-app purchases (we can use StoreKit for that). This is for donations (and the app would be free as the Apple guidelines suggest)
Thanks.
回答1:
May be you can donate through PayPal API but I am not sure whether Apple will approve it.
PayPal API for iOS:
https://www.x.com/community/ppx/xspaces/mobile/mep
Refer to this link before you start:
PayPal API for iOS - allowed?
I think there is no other option. UIWebView can open a site in your application which accepts credit card payments but I am not sure how good and appealing it would be to a user.
Hope this helps you
EDIT:
If you use anything apart from PayPal and In App Purchase, then I fear that your app will be rejected by Apple.
来源:https://stackoverflow.com/questions/7469274/accept-credit-card-payment-in-iphone-app