Swiftpack.co - datatrans/ios-sdk as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by datatrans.
datatrans/ios-sdk 2.0.0
Accept payments on your iOS apps: Our mobile SDKs support your entire payment and registration process and simplify the integration of any payment method in your mobile apps.
⭐️ 6
🕓 1 week ago
.package(url: "https://github.com/datatrans/ios-sdk.git", from: "2.0.0")

Datatrans iOS SDK

Version License Platform

Accept payments on your iOS apps: Our mobile SDKs support your entire payment and registration process and simplify the integration of any payment method in your mobile apps. Completely outsource your payment processes to us from inside your native apps. We also take care of redirecting your users to 3D Secure processes and enable smooth app-switches to other payment applications including Twint and PostFinance.

Features

Easy Integration: Integrate many of our payment methods easily to your iOS projects. Smart, modern and secure UI components to master online payments in your apps.

Card Scanner: Let your customers scan their card information easily with our prebuilt card scanner. No time wasted with entering card information.

3DS 2.0 / SCA Ready: The iOS SDK takes over the complexity of the 3DS process. We remain in charge of redirecting users whenever a 3D authorization is required to the 3DS process of their bank and back to the SDK.

Smooth App-Switch: Do you offer payment methods like Twint or PayPal that require the user to confirm the payment in a separate mobile app? The library switches smoothly to external apps and back to the SDK.

Saved Payment Methods and Fast Checkouts: Save your customers' payment information for later use and offer fast checkouts in your app. Delegate the saved payment method selection to the library.

Theme Support: Style various items according to your corporate identity if needed. We also support the iOS dark theme.

Integration

Get started with our integration guide and the API reference.

Requirements

The Datatrans iOS SDK requires Xcode 12 or later and is compatible with apps targeting iOS 11 or above.

GitHub

link
Stars: 6
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

2.0.0
6 days ago

🎉 iOS SDK Now Offers Better Support for App Clips!

The iOS SDK has been optimized so that you can include only packages from our SDK which are required by your project. This allows you to have a reduced size of our SDK in your App Clips.

⚠️ Important Change When Upgrading to 2.0.0

If you are upgrading from an earlier version via Swift Package Manager, the card scanner feature will be missing from your app. To re-enable it, go to your target ➝ Build PhasesLink Binary With Libraries and add DTCardScanner.

When upgrading via CocoaPods, the DTCardScanner.xcframework is automatically added and the card scanner will remain enabled.

Changed

  • Reduced the size of the SDK.
  • The card scanner is now an optional component, contained in DTCardScanner.xcframework. This allows you to further reduce the size of the SDK when developing an App Clip.

Fixed

  • Rebuilding from Bitcode failed when the app did not include the optional PPRiskMagnes.xcframework.
  • The TransactionDelegate got notified before the SDK finished dismissing its view controller.
  • Other minor bugs

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics