iOS SDK
How to integrate
Podfile
and add pod B24PaymentSdk
use_frameworks!
target 'MyApp' do
pod 'B24PaymentSdk',
:http => 'https://b24sdk.s3.ap-southeast-1.amazonaws.com/B24PaymentSdk-1-1-46-beta-10.zip'
end
pod install
import UIKit
import B24PaymentSdk
function
to initiate SDK.B24PaymentSdk().initInstantPayment
Parameter | Type | Description |
---|---|---|
userSyncCode | String* | Unique code created by the customer |
refererKey | String* | Can be any key to identity the client side or referer URL |
language | String | Language setting ("en" for English, "km" for Khmer) |
isDarkMode | Boolean | Enables dark mode (true for dark mode, false for light mode) |
isProduction | Boolean | Indicates environment (true for live, false for testing) |
Add permission to save image in photos inside
Info.plist
<key>Privacy - Photo Library Additions Usage Description</key>
<string>App needs access to the photo library for saving images.</string>
UIkit
5.0.0
13.0
15.0
NOTE
userSyncCode
that you get from endpoint Create Customer.Modified at 2025-04-18 01:55:33