Skip to content

Commit

Permalink
Release 4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
runner authored and runner committed Mar 20, 2024
1 parent 59c5566 commit e399782
Show file tree
Hide file tree
Showing 219 changed files with 50,930 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github "stripe/stripe-ios" == 23.24.1
10 changes: 10 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
**Olo Pay Software Development Kit License Agreement**

Copyright © 2022 Olo Inc. All rights reserved.

Subject to the terms and conditions of the license, you are hereby granted a non-exclusive, worldwide, royalty-free license to (a) copy and modify the software in source code or binary form for your use in connection with the software services and interfaces provided by Olo, and (b) redistribute unmodified copies of the software to third parties. The above copyright notice and this license shall be included in or with all copies or substantial portions of the software.

Your use of this software is subject to the Olo APIs Terms of Use, available at https://www.olo.com/api-usage-terms. This license does not grant you permission to use the trade names, trademarks, service marks, or product names of Olo, except as required for reasonable and customary use in describing the origin of the software and reproducing the content of this license.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

22 changes: 22 additions & 0 deletions OloPaySDK.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Pod::Spec.new do |spec|
spec.name = "OloPaySDK"
spec.version = "4.0.1"
spec.summary = "A CocoaPods library for the Olo Pay SDK written in Swift"
spec.description = <<-DESC
Olo Pay is an E-commerce payment solution designed to help restaurants grow, protect, and support their digital ordering and delivery business. Olo Pay is specifically designed for digital restaurant ordering to address the challenges and concerns that weʼve heard from thousands of merchants.
DESC

spec.homepage = "https://github.com/ololabs/olo-pay-ios-sdk-releases"
spec.license = { :type => "Olo Pay SDK License", :file => "LICENSE.md" }
spec.author = "Olo, Inc."

spec.platform = :ios
spec.ios.deployment_target = "13.0"
spec.swift_version = "5.0"

spec.source = { :git => "https://github.com/ololabs/olo-pay-ios-sdk-releases.git", :tag => "v#{spec.version}" }
spec.source_files = "**/src/OloPaySDK/OloPaySDK/**/*.{h,m,swift}"
spec.public_header_files = "**/src/OloPaySDK/OloPaySDK/**/*.h"
spec.dependency "Stripe", "23.24.1"
spec.resource_bundles = {"OloPaySDK" => [ "**/src/OloPaySDK/OloPaySDK/Assets/**/SdkInfo.plist" ]}
end
33 changes: 33 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// swift-tools-version: 5.7.1
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "OloPaySDK",
platforms: [.iOS(.v13)],
products: [
.library(
name: "OloPaySDK",
targets: ["OloPaySDK"]
),
],
dependencies: [
.package(url: "https://github.com/stripe/stripe-ios.git", exact: "23.24.1")
],
targets: [
.target(
name: "OloPaySDK",
dependencies: [
.product(name: "Stripe", package: "stripe-ios"),
],
path: "src/OloPaySDK/OloPaySDK"
),
.testTarget(
name: "OloPaySDKTests",
dependencies: ["OloPaySDK"],
path: "src/OloPaySDK/OloPaySDKTests"
),
],
swiftLanguageVersions: [.v5]
)
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Olo Pay iOS SDK

## About Olo Pay
[Olo Pay](https://www.olo.com/solutions/pay/) is an E-commerce payment solution designed to help restaurants grow, protect, and support their digital ordering and delivery business. Olo Pay is specifically designed for digital restaurant ordering to address the challenges and concerns that weʼve heard from thousands of merchants.

## About the SDK
The Olo Pay iOS SDK allows partners to easily add PCI-compliant credit card and Google Pay functionality to their checkout flow and seamlessly integrate with the Olo Ordering API.

This repo contains source code and documentation for the Olo Pay iOS SDK. Use of the SDK is subject to the terms of the [Olo Pay SDK License](https://github.com/ololabs/olo-pay-ios-sdk-releases/blob/main/LICENSE.md).

For more information about integrating Olo Pay into your payment solutions, refer to our [Olo Pay Dev Portal Documentation](https://developer.olo.com/docs/load/olopay) _(Note: requires an Olo Developer account)_.

## Integrate the SDK

The Olo Pay SDK supports Carthage, CocoaPods, and Swift Package Manager.

Documentation for the Olo Pay SDK, including setup instructions and full class documentation, can be downloaded for each [SDK release](https://github.com/ololabs/olo-pay-ios-sdk-releases/releases). After downloading, open `documentation/index.html` and follow the steps outlined in the [Setup] section.
2 changes: 2 additions & 0 deletions carthage-update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
carthage update --use-xcframeworks --no-use-binaries --platform iOS
Loading

0 comments on commit e399782

Please sign in to comment.