paypalcheckout-ios

0.110.0

Need to add Native Checkout to your iOS Application? We can help!
paypal/paypalcheckout-ios

What's New

0.110.0

2022-12-07T21:46:36Z

Internal bug fixes and improvements

Native Checkout for iOS

Platform Pod version Carthage version SPM version

Welcome to PayPal iOS Checkout SDK!

This framework allows you to provide a native PayPal checkout experience from within your iOS app.

Prerequisites

  • Deployment target of iOS 12.0 or higher.
  • Xcode version at least Xcode 12.
  • The current language version for the SDK is Swift 5.4.1.

Docs

To get started, first checkout out our quickstart integration guide!

You can also find our reference documentation here

Installation

Carthage

To install the PayPalCheckout SDK via Carthage, simply add the following line to your Cartfile:

binary "https://github.com/paypal/paypalcheckout-ios/raw/main/Carthage/PayPalCheckout.json" 

CocoaPods

To install the SDK via CocoaPods, add the following to your Podfile:

pod 'PayPalCheckout'

Swift Package Manager

If you are working in the context of another package, you can add the PayPalCheckout SDK as a dependency in your Package.swift file:

let package = Package(
    name: "MyPackage",
    dependencies: [
        .package(url: "https://github.com/paypal/paypalcheckout-ios.git", from: "0.106.0"),
    ],
    ...
)

If you are adding the PayPalCheckout SDK into a standalone project, you can add the PayPalCheckout SDK by following Apple's package integration guide, while specifying https://github.com/paypal/paypalcheckout-ios.git as the source git repository.

3DS Support

The PayPal Native Checkout SDK supports processing transactions that involve resolving 3D-Secure contingencies. In order to enable 3D-Secure contingency resolution for your users, there are a couple extra steps involved in the PayPalCheckout integration.

First, add PayPalCheckout to your app using any of the steps outlined above. Then, download the CardinalMobile.xcframework.zip from the Frameworks directory on this repository.

Unpack the CardinalMobile framework from that .zip, and add it to your application. There is no linking that needs to happen between Cardinal and the PayPalCheckout SDK.

OTP Support

Some users (those in the U.S. with a confirmed phone number associated with their account) will be able to log in to their PayPal account using a one time passcode sent via SMS, instead of via a webview. To test this flow in the sandbox environment, log in using a sandbox user with a confirmed phone number. The passcode to test a successful flow will be 111111, while any other passcode will result in a failure response.

Feedback

The PayPal Native Checkout SDK is in active development, we welcome your feedback!

To get in touch with us:

License

See the LICENSE file for more info.

Description

  • Swift Tools 5.3.0
View More Packages from this Author

Dependencies

  • None
Last updated: Wed Jan 25 2023 22:00:36 GMT-0500 (GMT-05:00)