iOS SDK (Objective-C)¶
iOS SDK allows you to accept payment from Visa/MasterCard, Apple Pay, Google Pay in any of your iOS applications.
The latest version of the iOS SDK you can always find in our public repository
https://github.com/cloudipsp/ios-sdk
To run the sample of application, run the command
git clone git@github.com:cloudipsp/ios-sdk.git
cd ios-sdk/Example
pod install
Cloudipsp SDK is also available through CocoaPods. To install it, simply add the following line to your Podfile:
pod “Cloudipsp”
Example for Objective-C you can find by the link https://github.com/cloudipsp/ios-sdk/tree/master/Example
Integrate SDK putting the generated MerchantID in 2 places
-
In XCode -> Target -> Capabilities -> ApplePay -> Merchant IDS
-
In integration SDK set
merchant_id
received during registration in Flitt Merchant Portal in constructor instead of test 900234self.api = [PSCloudipspApi apiWithMerchant:1396424 andCloudipspView:nil];
github line link: https://github.com/cloudipsp/ios-sdk/blob/7888703c243ee23738e513f28ab43da7aa8e4d29/Example/Cloudipsp/CDStartViewController.m#L24