Swiftpack.co - paypal/paypal-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by paypal.
paypal/paypal-ios 1.3.1
One merchant integration point for all of PayPal's services
⭐️ 51
🕓 2 days ago
iOS
.package(url: "https://github.com/paypal/paypal-ios.git", from: "1.3.1")

PayPal iOS SDK

Welcome to PayPal's iOS SDK. This library will help you accept card, PayPal, Venmo, and alternative payment methods in your iOS app.

FAQ

Contribution

If you have suggestions for features that you would like to see in future iterations of the SDK, please feel free to open an issue, PR, or discussion with suggestions. This product is fully open source. We welcome any and all feedback.

Support

The PayPal iOS SDK supports a minimum deployment target of iOS 14+ and requires Xcode 15.0+ and macOS Ventura 13. See our Client Deprecation policy to plan for updates.

Package Managers

This SDK supports:

  • CocoaPods
  • Swift Package Manager

Languages

This SDK supports Swift 5.9+. This SDK is written in Swift.

UI Frameworks

This SDK supports:

  • UIKit
  • SwiftUI

Client ID

The PayPal SDK uses a client ID for authentication. This can be found in your PayPal Developer Dashboard.

Documentation

Documentation for the PayPal iOS SDK can be found here.

Demo

  1. Open PayPal.xcworkspace in Xcode
  2. Resolve the Swift Package Manager packages if needed: File > Packages > Resolve Package Versions or by running swift package resolve in Terminal
  3. Select the Demo scheme, and then run

Xcode 14.3+ is required to run the demo app.

Testing

This project uses the XCTest framework provided by Xcode. Every code path should be unit tested. Unit tests should make up most of the test coverage, with integration, and then UI tests following.

CI

GitHub Actions CI will run all tests and build commands per package manager on each PR.

Local Testing

Our Xcode project uses SwiftLint.

Release Process

This SDK follows Semantic Versioning. The release process will be automated via GitHub Actions.

Analytics

Client analytics will be collected via Lighthouse/FPTI.

GitHub

link
Stars: 51
Last commit: 2 days ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

1.3.1
2 days ago
  • FraudProtection
    • Include DeviceID privacy term in PrivacyInfo.xcprivacy file

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