SSLCommerzSDK provides a convenient way to integrate the SSLCommerz payment gateway into your iOS applications. This SDK is packaged as an XCFramework and can be installed via CocoaPods.
- iOS 12.0+
- Xcode 16.0+
- Swift 5.0+
SSLCommerzSDK is available through CocoaPods. If you don't have CocoaPods installed, you can install it with the following command
$ sudo gem install cocoapods
platform :ios, '11.0'
target 'YourApp' do
use_frameworks!
pod 'SSLCommerzSDK'
end
$ pod install
Import the SDK into your view controller or any class where you intend to use the payment functionalities
import SSLCommerzSDK
You can initialize a payment using the provided SDK functions. Refer to the official documentation for details on how to configure and start transactions.
The SDK provides callbacks to handle success, failure, and cancellation events during the payment process.