Paysafe SDK
The Paysafe iOS SDK allows merchants to process payments from within their iOS mobile applications.
Both traditional card payment and Apple Pay payment methods are supported with this SDK.
Updated to support 3DS 2 functionality.
To simplify the process of integration the iOS SDK, it was published and available as Cocoapod.
系统需求
- iOS 10.0+ / macOS 10.15+
- Xcode 11+
- Swift 5+
支持
它支持
- iOS 10.0及以上版本的'Non Apple Pay'
- iOS 10.0及以上版本的'Apple Pay'
安装
安装可以通过CocoaPods进行
CocoaPods是Cocoa项目的依赖管理器。有关用法和安装说明,请访问他们的网站。要使用CocoaPods将iOS Paysafe SDK集成到Xcode项目中,请在其Podfile中指定
pod 'Paysafe_SDK', '<latest_published_version>'
使用
安装Paysafe_SDK Cocoapod之后,要开始使用SDK,只需将其导入到您的项目中即可
- Swift
import Paysafe_SDK
- Objective-C
@import Paysafe_SDK;
Apple Pay
要在您的应用程序或网站上使用Apple Pay,您必须遵循以下步骤
警告:在非生产环境中测试Apple Pay需要在Apple开发者门户中添加Sandbox账户。