CloudPayments offers 5 frameworks that can be easily integrated with your apps.
Our frameworks are distributed as binary XCFrameworks via Swift Package Manage or by cloning a sample repository.
As of Oct-2021, our frameworks are NOT bitcode enabled. Please contact us if needs dictate otherwise.
CPCoreKit: Core utilities and networking layer used by all other frameworks.
CPCloudKit: CloudPayments configuration framework.
CPLoginKit: Registration, login, user information & token persistance & refresh.
CPPayKit: Payments, credit card tokenization, Store-Value Accounts, transactions, transaction history.
CPFundsKit: Fundz related operation (create, delete, invite, withdraw fundz), P2P & P2M money requests.
1.- Add the CPConfiguration.plist file you received over email or from the sample app onto your Resources Folder (or any folder where Bundle.main.pathForResource succeeds
2.- In your AppDelegate
func configureFrameworks() {
let configuration : CPKeys
CPToken.autoRefresh = true
#if DEBUG
configuration = CPKeysConfiguration(environment: .development,
endpoint: "http://api-dev.liftcommerce.com",
tenant: "FUNDZ",
apikey: "5dbb36169aa4ad00019f74972a304fa29e124044b9702478b24cd3d1",
merchantid: "800000000264",
ccurl: "https://boltgw.cardconnect.com:6443/itoke/ajax-tokenizer.html",
appName: "mytest_app")
#else // Production environment, values as provided by CloudPayments
configuration = CPKeysConfiguration(environment: .production,
endpoint: "",
tenant: "",
apikey: "",
merchantid: "",
ccurl: "",
appName: "")
#endif
CloudPayments.setup(configurationKeys: configuration)
}