I’m exploring whether it’s possible for me to implement an idea I’ve had in iOS. However, the idea depends on being able to give users money. Is this possible in iOS? I know Apple wants you to use StoreKit when taking money from users (in-app purchases, etc), but is there even a mechanism in StoreKit to give money to users, and if not, do the iOS rules let one use a third-party service like PayPal to give users money?
Share
Yes, one can use a third party service like Paypal for payment. To implement Paypal mechanism go through the following steps.
1) Download Mobile Payment Libraries for iOS form here
2) import PayPal.h file in header file of your View Controller.
3) include following frameworks in project — Security.framework, MapKit, ImageIO, SystemConfiguration
4) also include following two libraries file – libz.dylib, libxml2.dylib
5) Create a button for payment like
6) implement button action method using following code:
7) Use following delegates