Implementation with iOS App SDK
Support for iOS 9 or above
☑️ Add OTTPaySDK.framework into your Project
☑️ In the Link Binary With Libraries on the Build Phases tab, add the following dependency
☑️ Add $(PROJECT_DIR)/OTTPaySDK.framework/Headers in Build Settings
☑️ Register sdk in AppDelegate to set URL Types
👉 Note: shopID is optional for future usage
☑️ Registration in AppDelegate implements to listen for payment callbacks
☑️ Call OTTPAY payment API
NOTE:
1. All the monetary measurement unit in API is CENT. For example, one dollar will be expressed as 100, when it is passed into API.
2. The AlipaySDK is connected to the sdk. If you need to use the AlipaySDK interface, you can use it directly without having to import it repeatedly.
3. Error message with error code:
👉 Here is the sdk for iOS App for download
Last updated