├── .github └── CONTRIBUTING.md ├── .gitignore ├── .ruby-version ├── Gemfile ├── Gemfile.lock ├── InAppPaymentsSample.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── xcshareddata │ └── xcschemes │ └── InAppPaymentsSample.xcscheme ├── InAppPaymentsSample.xcworkspace ├── contents.xcworkspacedata └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── InAppPaymentsSample ├── Animations │ └── HalfSheetPresentationControllerHeightProtocol.swift ├── AppDelegate.swift ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── Icon Copy-iPad.png │ │ ├── Icon Copy-iPad@2x.png │ │ ├── Icon Copy-iPadPro.png │ │ ├── Icon Copy1024.png │ │ ├── Icon Copy@2x.png │ │ └── Icon Copy@3x.png │ ├── ApplePay.imageset │ │ ├── Contents.json │ │ ├── logo.png │ │ ├── logo@2x.png │ │ └── logo@3x.png │ ├── CloseButton.imageset │ │ ├── Contents.json │ │ ├── btnClose.png │ │ ├── btnClose@2x.png │ │ └── btnClose@3x.png │ ├── Contents.json │ └── CookieImage.imageset │ │ ├── Contents.json │ │ ├── iconCookie@1x.jpg │ │ ├── iconCookie@2x.png │ │ └── iconCookie@3x.png ├── Base.lproj │ └── LaunchScreen.storyboard ├── Constants │ ├── Color.swift │ ├── Constants.swift │ └── Style.swift ├── Controllers │ ├── ExampleViewController.swift │ ├── OrderNavigationController.swift │ └── OrderViewController.swift ├── Info.plist ├── Network │ └── ChargeApi.swift ├── Views │ ├── ExampleView.swift │ ├── Generators │ │ ├── ActionButton.swift │ │ ├── HairlineView.swift │ │ ├── HeaderView.swift │ │ └── TableRowView.swift │ └── OrderView.swift ├── extensions │ └── extension-UIView.swift └── mCommExample.entitlements ├── LICENSE.txt ├── Podfile ├── Podfile.lock ├── Pods ├── Manifest.lock ├── Pods.xcodeproj │ └── project.pbxproj ├── SquareInAppPaymentsSDK │ ├── README.md │ └── XCFrameworks │ │ └── SquareInAppPaymentsSDK.xcframework │ │ ├── Info.plist │ │ ├── ios-arm64 │ │ └── SquareInAppPaymentsSDK.framework │ │ │ ├── CorePaymentCardResources.bundle │ │ │ ├── CorePaymentCardResources-Info.plist │ │ │ ├── Info.plist │ │ │ └── en.lproj │ │ │ │ └── InfoPlist.strings │ │ │ ├── Frameworks │ │ │ └── CorePaymentCard.framework │ │ │ │ ├── CorePaymentCard │ │ │ │ ├── CorePaymentCardResources.bundle │ │ │ │ ├── CorePaymentCardResources-Info.plist │ │ │ │ ├── Info.plist │ │ │ │ └── en.lproj │ │ │ │ │ └── InfoPlist.strings │ │ │ │ ├── Headers │ │ │ │ ├── CPCCardUtility.h │ │ │ │ ├── CPCPaymentCard.h │ │ │ │ ├── CPCPaymentCard_Protected.h │ │ │ │ ├── CPCString.h │ │ │ │ ├── CorePaymentCard-umbrella.h │ │ │ │ ├── CorePaymentCard.h │ │ │ │ ├── CorePaymentCardDefines.h │ │ │ │ ├── NSBundle+CPCAdditions.h │ │ │ │ └── NSString+CPCAdditions.h │ │ │ │ ├── Info.plist │ │ │ │ ├── Modules │ │ │ │ └── module.modulemap │ │ │ │ └── PrivateHeaders │ │ │ │ ├── CPCCardBrandDetection.h │ │ │ │ └── CorePaymentCardDefines_Internal.h │ │ │ ├── Headers │ │ │ ├── PKPaymentRequest+Square.h │ │ │ ├── SQIPApplePayNonceRequest.h │ │ │ ├── SQIPApplePayNonceRequestError.h │ │ │ ├── SQIPCard.h │ │ │ ├── SQIPCardBrand.h │ │ │ ├── SQIPCardDetails.h │ │ │ ├── SQIPCardEntryViewController.h │ │ │ ├── SQIPCardPrepaidType.h │ │ │ ├── SQIPCardType.h │ │ │ ├── SQIPErrorConstants.h │ │ │ ├── SQIPInAppPaymentsSDK.h │ │ │ ├── SQIPSecureRemoteCommerce.h │ │ │ ├── SQIPSecureRemoteCommerceParameters.h │ │ │ ├── SQIPTheme.h │ │ │ └── SquareInAppPaymentsSDK-umbrella.h │ │ │ ├── Info.plist │ │ │ ├── Modules │ │ │ └── module.modulemap │ │ │ ├── SQIPAssetFinderResources.bundle │ │ │ ├── Assets.car │ │ │ ├── Base.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── Info.plist │ │ │ ├── ca-ES.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── en-AU.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── en-CA.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── en-GB.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── en-IE.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── en.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── es-ES.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── es.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── fr-CA.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── fr.lproj │ │ │ │ └── Localizable.strings │ │ │ └── ja.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── SQIPCardEntryViewResources.bundle │ │ │ ├── Assets.car │ │ │ ├── Info.plist │ │ │ ├── ca-ES.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── en-AU.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── en-CA.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── en-GB.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── en-IE.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── en.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── es-ES.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── es.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── fr-CA.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── fr.lproj │ │ │ │ └── Localizable.strings │ │ │ └── ja.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── SQIPNetworkingResources.bundle │ │ │ ├── Info.plist │ │ │ ├── ca-ES.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── en-AU.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── en-CA.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── en-GB.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── en-IE.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── en.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── es-ES.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── es.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── fr-CA.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── fr.lproj │ │ │ │ └── Localizable.strings │ │ │ ├── ja.lproj │ │ │ │ └── Localizable.strings │ │ │ └── trustedcerts.plist │ │ │ ├── SquareInAppPaymentsSDK │ │ │ └── setup │ │ └── ios-arm64_x86_64-simulator │ │ └── SquareInAppPaymentsSDK.framework │ │ ├── CorePaymentCardResources.bundle │ │ ├── CorePaymentCardResources-Info.plist │ │ ├── Info.plist │ │ └── en.lproj │ │ │ └── InfoPlist.strings │ │ ├── Frameworks │ │ └── CorePaymentCard.framework │ │ │ ├── CorePaymentCard │ │ │ ├── CorePaymentCardResources.bundle │ │ │ ├── CorePaymentCardResources-Info.plist │ │ │ ├── Info.plist │ │ │ └── en.lproj │ │ │ │ └── InfoPlist.strings │ │ │ ├── Headers │ │ │ ├── CPCCardUtility.h │ │ │ ├── CPCPaymentCard.h │ │ │ ├── CPCPaymentCard_Protected.h │ │ │ ├── CPCString.h │ │ │ ├── CorePaymentCard-umbrella.h │ │ │ ├── CorePaymentCard.h │ │ │ ├── CorePaymentCardDefines.h │ │ │ ├── NSBundle+CPCAdditions.h │ │ │ └── NSString+CPCAdditions.h │ │ │ ├── Info.plist │ │ │ ├── Modules │ │ │ └── module.modulemap │ │ │ └── PrivateHeaders │ │ │ ├── CPCCardBrandDetection.h │ │ │ └── CorePaymentCardDefines_Internal.h │ │ ├── Headers │ │ ├── PKPaymentRequest+Square.h │ │ ├── SQIPApplePayNonceRequest.h │ │ ├── SQIPApplePayNonceRequestError.h │ │ ├── SQIPCard.h │ │ ├── SQIPCardBrand.h │ │ ├── SQIPCardDetails.h │ │ ├── SQIPCardEntryViewController.h │ │ ├── SQIPCardPrepaidType.h │ │ ├── SQIPCardType.h │ │ ├── SQIPErrorConstants.h │ │ ├── SQIPInAppPaymentsSDK.h │ │ ├── SQIPSecureRemoteCommerce.h │ │ ├── SQIPSecureRemoteCommerceParameters.h │ │ ├── SQIPTheme.h │ │ └── SquareInAppPaymentsSDK-umbrella.h │ │ ├── Info.plist │ │ ├── Modules │ │ └── module.modulemap │ │ ├── SQIPAssetFinderResources.bundle │ │ ├── Assets.car │ │ ├── Base.lproj │ │ │ └── Localizable.strings │ │ ├── Info.plist │ │ ├── ca-ES.lproj │ │ │ └── Localizable.strings │ │ ├── en-AU.lproj │ │ │ └── Localizable.strings │ │ ├── en-CA.lproj │ │ │ └── Localizable.strings │ │ ├── en-GB.lproj │ │ │ └── Localizable.strings │ │ ├── en-IE.lproj │ │ │ └── Localizable.strings │ │ ├── en.lproj │ │ │ └── Localizable.strings │ │ ├── es-ES.lproj │ │ │ └── Localizable.strings │ │ ├── es.lproj │ │ │ └── Localizable.strings │ │ ├── fr-CA.lproj │ │ │ └── Localizable.strings │ │ ├── fr.lproj │ │ │ └── Localizable.strings │ │ └── ja.lproj │ │ │ └── Localizable.strings │ │ ├── SQIPCardEntryViewResources.bundle │ │ ├── Assets.car │ │ ├── Info.plist │ │ ├── ca-ES.lproj │ │ │ └── Localizable.strings │ │ ├── en-AU.lproj │ │ │ └── Localizable.strings │ │ ├── en-CA.lproj │ │ │ └── Localizable.strings │ │ ├── en-GB.lproj │ │ │ └── Localizable.strings │ │ ├── en-IE.lproj │ │ │ └── Localizable.strings │ │ ├── en.lproj │ │ │ └── Localizable.strings │ │ ├── es-ES.lproj │ │ │ └── Localizable.strings │ │ ├── es.lproj │ │ │ └── Localizable.strings │ │ ├── fr-CA.lproj │ │ │ └── Localizable.strings │ │ ├── fr.lproj │ │ │ └── Localizable.strings │ │ └── ja.lproj │ │ │ └── Localizable.strings │ │ ├── SQIPNetworkingResources.bundle │ │ ├── Info.plist │ │ ├── ca-ES.lproj │ │ │ └── Localizable.strings │ │ ├── en-AU.lproj │ │ │ └── Localizable.strings │ │ ├── en-CA.lproj │ │ │ └── Localizable.strings │ │ ├── en-GB.lproj │ │ │ └── Localizable.strings │ │ ├── en-IE.lproj │ │ │ └── Localizable.strings │ │ ├── en.lproj │ │ │ └── Localizable.strings │ │ ├── es-ES.lproj │ │ │ └── Localizable.strings │ │ ├── es.lproj │ │ │ └── Localizable.strings │ │ ├── fr-CA.lproj │ │ │ └── Localizable.strings │ │ ├── fr.lproj │ │ │ └── Localizable.strings │ │ ├── ja.lproj │ │ │ └── Localizable.strings │ │ └── trustedcerts.plist │ │ ├── SquareInAppPaymentsSDK │ │ └── setup └── Target Support Files │ ├── Pods-InAppPaymentsSample │ ├── Info.plist │ ├── Pods-InAppPaymentsSample-Info.plist │ ├── Pods-InAppPaymentsSample-acknowledgements.markdown │ ├── Pods-InAppPaymentsSample-acknowledgements.plist │ ├── Pods-InAppPaymentsSample-dummy.m │ ├── Pods-InAppPaymentsSample-frameworks.sh │ ├── Pods-InAppPaymentsSample-resources.sh │ ├── Pods-InAppPaymentsSample-umbrella.h │ ├── Pods-InAppPaymentsSample.debug.xcconfig │ ├── Pods-InAppPaymentsSample.modulemap │ └── Pods-InAppPaymentsSample.release.xcconfig │ └── SquareInAppPaymentsSDK │ ├── SquareInAppPaymentsSDK-xcframeworks.sh │ ├── SquareInAppPaymentsSDK.debug.xcconfig │ ├── SquareInAppPaymentsSDK.release.xcconfig │ └── SquareInAppPaymentsSDK.xcconfig └── README.md /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | If you would like to contribute code to this project you can do so through GitHub by 4 | forking the repository and sending a pull request. 5 | 6 | When submitting code, please make every effort to follow existing conventions 7 | and style in order to keep the code as readable as possible. 8 | 9 | Before your code can be accepted into the project you must also sign the 10 | [Individual Contributor License Agreement (CLA)][1]. 11 | 12 | 13 | [1]: https://spreadsheets.google.com/spreadsheet/viewform?formkey=dDViT2xzUHAwRkI3X3k5Z0lQM091OGc6MQ&ndplr=1 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xccheckout 23 | *.xcscmblueprint 24 | 25 | #Ignore the Mac OS X .DS_Store files 26 | .DS_Store 27 | .LSOverride 28 | 29 | # Swap files 30 | *.swp 31 | 32 | ## Obj-C/Swift specific 33 | *.hmap 34 | *.ipa 35 | *.dSYM.zip 36 | *.dSYM 37 | 38 | ## Playgrounds 39 | timeline.xctimeline 40 | playground.xcworkspace 41 | 42 | # Swift Package Manager 43 | # 44 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 45 | # Packages/ 46 | # Package.pins 47 | # Package.resolved 48 | .build/ 49 | 50 | # CocoaPods 51 | # 52 | # We recommend against adding the Pods directory to your .gitignore. However 53 | # you should judge for yourself, the pros and cons are mentioned at: 54 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 55 | # 56 | # Pods/ 57 | # 58 | # Add this line if you want to avoid checking in source code from the Xcode workspace 59 | # *.xcworkspace 60 | 61 | # Carthage 62 | # 63 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 64 | # Carthage/Checkouts 65 | 66 | Carthage/Build 67 | 68 | # fastlane 69 | # 70 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 71 | # screenshots whenever they are needed. 72 | # For more information about the recommended setup visit: 73 | # https://docs.fastlane.tools/best-practices/source-control/#source-control 74 | 75 | fastlane/report.xml 76 | fastlane/Preview.html 77 | fastlane/screenshots/**/*.png 78 | fastlane/test_output 79 | 80 | # Code Injection 81 | # 82 | # After new code Injection tools there's a generated folder /iOSInjectionProject 83 | # https://github.com/johnno1962/injectionforxcode 84 | 85 | iOSInjectionProject/ 86 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.7.4 2 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem 'cocoapods', '1.11.3' 4 | -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | CFPropertyList (3.0.5) 5 | rexml 6 | activesupport (6.1.6) 7 | concurrent-ruby (~> 1.0, >= 1.0.2) 8 | i18n (>= 1.6, < 2) 9 | minitest (>= 5.1) 10 | tzinfo (~> 2.0) 11 | zeitwerk (~> 2.3) 12 | addressable (2.8.0) 13 | public_suffix (>= 2.0.2, < 5.0) 14 | algoliasearch (1.27.5) 15 | httpclient (~> 2.8, >= 2.8.3) 16 | json (>= 1.5.1) 17 | atomos (0.1.3) 18 | claide (1.1.0) 19 | cocoapods (1.11.3) 20 | addressable (~> 2.8) 21 | claide (>= 1.0.2, < 2.0) 22 | cocoapods-core (= 1.11.3) 23 | cocoapods-deintegrate (>= 1.0.3, < 2.0) 24 | cocoapods-downloader (>= 1.4.0, < 2.0) 25 | cocoapods-plugins (>= 1.0.0, < 2.0) 26 | cocoapods-search (>= 1.0.0, < 2.0) 27 | cocoapods-trunk (>= 1.4.0, < 2.0) 28 | cocoapods-try (>= 1.1.0, < 2.0) 29 | colored2 (~> 3.1) 30 | escape (~> 0.0.4) 31 | fourflusher (>= 2.3.0, < 3.0) 32 | gh_inspector (~> 1.0) 33 | molinillo (~> 0.8.0) 34 | nap (~> 1.0) 35 | ruby-macho (>= 1.0, < 3.0) 36 | xcodeproj (>= 1.21.0, < 2.0) 37 | cocoapods-core (1.11.3) 38 | activesupport (>= 5.0, < 7) 39 | addressable (~> 2.8) 40 | algoliasearch (~> 1.0) 41 | concurrent-ruby (~> 1.1) 42 | fuzzy_match (~> 2.0.4) 43 | nap (~> 1.0) 44 | netrc (~> 0.11) 45 | public_suffix (~> 4.0) 46 | typhoeus (~> 1.0) 47 | cocoapods-deintegrate (1.0.5) 48 | cocoapods-downloader (1.6.3) 49 | cocoapods-plugins (1.0.0) 50 | nap 51 | cocoapods-search (1.0.1) 52 | cocoapods-trunk (1.6.0) 53 | nap (>= 0.8, < 2.0) 54 | netrc (~> 0.11) 55 | cocoapods-try (1.2.0) 56 | colored2 (3.1.2) 57 | concurrent-ruby (1.1.10) 58 | escape (0.0.4) 59 | ethon (0.15.0) 60 | ffi (>= 1.15.0) 61 | ffi (1.15.5) 62 | fourflusher (2.3.1) 63 | fuzzy_match (2.0.4) 64 | gh_inspector (1.1.3) 65 | httpclient (2.8.3) 66 | i18n (1.10.0) 67 | concurrent-ruby (~> 1.0) 68 | json (2.6.2) 69 | minitest (5.15.0) 70 | molinillo (0.8.0) 71 | nanaimo (0.3.0) 72 | nap (1.1.0) 73 | netrc (0.11.0) 74 | public_suffix (4.0.7) 75 | rexml (3.2.5) 76 | ruby-macho (2.5.1) 77 | typhoeus (1.4.0) 78 | ethon (>= 0.9.0) 79 | tzinfo (2.0.4) 80 | concurrent-ruby (~> 1.0) 81 | xcodeproj (1.21.0) 82 | CFPropertyList (>= 2.3.3, < 4.0) 83 | atomos (~> 0.1.3) 84 | claide (>= 1.0.2, < 2.0) 85 | colored2 (~> 3.1) 86 | nanaimo (~> 0.3.0) 87 | rexml (~> 3.2.4) 88 | zeitwerk (2.5.4) 89 | 90 | PLATFORMS 91 | ruby 92 | 93 | DEPENDENCIES 94 | cocoapods (= 1.11.3) 95 | 96 | BUNDLED WITH 97 | 2.2.29 98 | -------------------------------------------------------------------------------- /InAppPaymentsSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /InAppPaymentsSample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /InAppPaymentsSample.xcodeproj/xcshareddata/xcschemes/InAppPaymentsSample.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 37 | 38 | 39 | 40 | 41 | 42 | 52 | 54 | 60 | 61 | 62 | 63 | 69 | 71 | 77 | 78 | 79 | 80 | 82 | 83 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /InAppPaymentsSample.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /InAppPaymentsSample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Animations/HalfSheetPresentationControllerHeightProtocol.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright © 2018 Square, Inc. 3 | // 4 | // Licensed under the Apache License, Version 2.0 (the "License"); 5 | // you may not use this file except in compliance with the License. 6 | // You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | // 16 | 17 | import UIKit 18 | 19 | protocol HalfSheetPresentationControllerHeightProtocol: AnyObject { 20 | var halfsheetHeight: CGFloat { get } 21 | } 22 | 23 | class HalfSheetPresentationController: UIPresentationController { 24 | private lazy var dimmingView = makeDimmingView() 25 | 26 | override var frameOfPresentedViewInContainerView: CGRect { 27 | guard let containerView = containerView, let sheetHeight = (presentedViewController as? HalfSheetPresentationControllerHeightProtocol)?.halfsheetHeight else { 28 | return super.frameOfPresentedViewInContainerView 29 | } 30 | 31 | return CGRect(x: 0, 32 | y: containerView.bounds.height - sheetHeight, 33 | width: containerView.bounds.width, 34 | height: sheetHeight) 35 | } 36 | 37 | override func presentationTransitionWillBegin() { 38 | containerView?.addSubview(dimmingView) 39 | dimmingView.frame = containerView!.bounds 40 | 41 | presentedViewController.transitionCoordinator?.animate(alongsideTransition: { [weak self] (context) in 42 | self?.dimmingView.alpha = 1.0 43 | }, completion: nil) 44 | } 45 | 46 | override func dismissalTransitionWillBegin() { 47 | presentedViewController.transitionCoordinator?.animate(alongsideTransition: { [weak self] (context) in 48 | self?.dimmingView.alpha = 0.0 49 | }, completion: nil) 50 | } 51 | 52 | @objc func didTapBackground() { 53 | presentedViewController.dismiss(animated: true, completion: nil) 54 | } 55 | 56 | override func containerViewDidLayoutSubviews() { 57 | super.containerViewDidLayoutSubviews() 58 | 59 | presentedView?.roundCorners(corners: [.topLeft, .topRight], radius: 12) 60 | presentedView?.frame = frameOfPresentedViewInContainerView 61 | } 62 | } 63 | 64 | extension HalfSheetPresentationController { 65 | private func makeDimmingView() -> UIView { 66 | let view = UIView() 67 | view.backgroundColor = UIColor.black.withAlphaComponent(0.8) 68 | view.alpha = 0.0 69 | 70 | let tapGesture = UITapGestureRecognizer(target: self, action: #selector(didTapBackground)) 71 | view.addGestureRecognizer(tapGesture) 72 | 73 | return view 74 | } 75 | 76 | private func makePaddingView() -> UIView { 77 | let view = UIView() 78 | view.backgroundColor = Color.popupBackground 79 | 80 | return view 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /InAppPaymentsSample/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright © 2018 Square, Inc. 3 | // 4 | // Licensed under the Apache License, Version 2.0 (the "License"); 5 | // you may not use this file except in compliance with the License. 6 | // You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | // 16 | 17 | import UIKit 18 | import SquareInAppPaymentsSDK 19 | 20 | @UIApplicationMain 21 | class AppDelegate: UIResponder, UIApplicationDelegate { 22 | 23 | var window: UIWindow? 24 | 25 | 26 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 27 | // Set your Square Application ID 28 | SQIPInAppPaymentsSDK.squareApplicationID = Constants.Square.APPLICATION_ID 29 | 30 | // Start application 31 | window = UIWindow(frame: UIScreen.main.bounds) 32 | window?.rootViewController = ExampleViewController() 33 | window?.makeKeyAndVisible() 34 | 35 | Style.setDefaults() 36 | 37 | return true 38 | } 39 | 40 | func applicationWillResignActive(_ application: UIApplication) { 41 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 42 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. 43 | } 44 | 45 | func applicationDidEnterBackground(_ application: UIApplication) { 46 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 47 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 48 | } 49 | 50 | func applicationWillEnterForeground(_ application: UIApplication) { 51 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. 52 | } 53 | 54 | func applicationDidBecomeActive(_ application: UIApplication) { 55 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 56 | } 57 | 58 | func applicationWillTerminate(_ application: UIApplication) { 59 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 60 | } 61 | 62 | 63 | } 64 | 65 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "60x60", 35 | "idiom" : "iphone", 36 | "filename" : "Icon Copy@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "60x60", 41 | "idiom" : "iphone", 42 | "filename" : "Icon Copy@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "idiom" : "ipad", 47 | "size" : "20x20", 48 | "scale" : "1x" 49 | }, 50 | { 51 | "idiom" : "ipad", 52 | "size" : "20x20", 53 | "scale" : "2x" 54 | }, 55 | { 56 | "idiom" : "ipad", 57 | "size" : "29x29", 58 | "scale" : "1x" 59 | }, 60 | { 61 | "idiom" : "ipad", 62 | "size" : "29x29", 63 | "scale" : "2x" 64 | }, 65 | { 66 | "idiom" : "ipad", 67 | "size" : "40x40", 68 | "scale" : "1x" 69 | }, 70 | { 71 | "idiom" : "ipad", 72 | "size" : "40x40", 73 | "scale" : "2x" 74 | }, 75 | { 76 | "size" : "76x76", 77 | "idiom" : "ipad", 78 | "filename" : "Icon Copy-iPad.png", 79 | "scale" : "1x" 80 | }, 81 | { 82 | "size" : "76x76", 83 | "idiom" : "ipad", 84 | "filename" : "Icon Copy-iPad@2x.png", 85 | "scale" : "2x" 86 | }, 87 | { 88 | "size" : "83.5x83.5", 89 | "idiom" : "ipad", 90 | "filename" : "Icon Copy-iPadPro.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "1024x1024", 95 | "idiom" : "ios-marketing", 96 | "filename" : "Icon Copy1024.png", 97 | "scale" : "1x" 98 | } 99 | ], 100 | "info" : { 101 | "version" : 1, 102 | "author" : "xcode" 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/AppIcon.appiconset/Icon Copy-iPad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/InAppPaymentsSample/Assets.xcassets/AppIcon.appiconset/Icon Copy-iPad.png -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/AppIcon.appiconset/Icon Copy-iPad@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/InAppPaymentsSample/Assets.xcassets/AppIcon.appiconset/Icon Copy-iPad@2x.png -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/AppIcon.appiconset/Icon Copy-iPadPro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/InAppPaymentsSample/Assets.xcassets/AppIcon.appiconset/Icon Copy-iPadPro.png -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/AppIcon.appiconset/Icon Copy1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/InAppPaymentsSample/Assets.xcassets/AppIcon.appiconset/Icon Copy1024.png -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/AppIcon.appiconset/Icon Copy@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/InAppPaymentsSample/Assets.xcassets/AppIcon.appiconset/Icon Copy@2x.png -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/AppIcon.appiconset/Icon Copy@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/InAppPaymentsSample/Assets.xcassets/AppIcon.appiconset/Icon Copy@3x.png -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/ApplePay.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "logo.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "logo@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "logo@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/ApplePay.imageset/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/InAppPaymentsSample/Assets.xcassets/ApplePay.imageset/logo.png -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/ApplePay.imageset/logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/InAppPaymentsSample/Assets.xcassets/ApplePay.imageset/logo@2x.png -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/ApplePay.imageset/logo@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/InAppPaymentsSample/Assets.xcassets/ApplePay.imageset/logo@3x.png -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/CloseButton.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "btnClose.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "btnClose@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "btnClose@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | }, 23 | "properties" : { 24 | "template-rendering-intent" : "template" 25 | } 26 | } -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/CloseButton.imageset/btnClose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/InAppPaymentsSample/Assets.xcassets/CloseButton.imageset/btnClose.png -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/CloseButton.imageset/btnClose@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/InAppPaymentsSample/Assets.xcassets/CloseButton.imageset/btnClose@2x.png -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/CloseButton.imageset/btnClose@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/InAppPaymentsSample/Assets.xcassets/CloseButton.imageset/btnClose@3x.png -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/CookieImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "iconCookie@1x.jpg", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "iconCookie@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "iconCookie@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/CookieImage.imageset/iconCookie@1x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/InAppPaymentsSample/Assets.xcassets/CookieImage.imageset/iconCookie@1x.jpg -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/CookieImage.imageset/iconCookie@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/InAppPaymentsSample/Assets.xcassets/CookieImage.imageset/iconCookie@2x.png -------------------------------------------------------------------------------- /InAppPaymentsSample/Assets.xcassets/CookieImage.imageset/iconCookie@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/InAppPaymentsSample/Assets.xcassets/CookieImage.imageset/iconCookie@3x.png -------------------------------------------------------------------------------- /InAppPaymentsSample/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Constants/Color.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright © 2018 Square, Inc. 3 | // 4 | // Licensed under the Apache License, Version 2.0 (the "License"); 5 | // you may not use this file except in compliance with the License. 6 | // You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | // 16 | 17 | import UIKit 18 | 19 | struct Color { 20 | static let background = UIColor(red: 0.47, green: 0.8, blue: 0.77, alpha: 1.0) 21 | static let popupBackground = UIColor.white 22 | static let primaryAction = UIColor(red: 0.14, green: 0.6, blue: 0.55, alpha: 1) 23 | static let applePayBackground = UIColor.black 24 | static let hairlineColor = UIColor.black.withAlphaComponent(0.1) 25 | static let descriptionFont = UIColor(red: 0.48, green: 0.48, blue: 0.48, alpha: 1) 26 | static let navigationBarTintColor = UIColor(red: 0.85, green: 0.85, blue: 0.85, alpha: 1) 27 | static let heading = UIColor(red: 0.14, green: 0.6, blue: 0.55, alpha: 1) 28 | } 29 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Constants/Constants.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright © 2018 Square, Inc. 3 | // 4 | // Licensed under the Apache License, Version 2.0 (the "License"); 5 | // you may not use this file except in compliance with the License. 6 | // You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | // 16 | 17 | import Foundation 18 | 19 | struct Constants { 20 | struct ApplePay { 21 | static let MERCHANT_IDENTIFIER: String = "REPLACE_ME" 22 | static let COUNTRY_CODE: String = "US" 23 | static let CURRENCY_CODE: String = "USD" 24 | } 25 | 26 | struct Square { 27 | static let SQUARE_LOCATION_ID: String = "REPLACE_ME" 28 | static let APPLICATION_ID: String = "REPLACE_ME" 29 | static let CHARGE_SERVER_HOST: String = "REPLACE_ME" 30 | static let CHARGE_URL: String = "\(CHARGE_SERVER_HOST)/chargeForCookie" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Constants/Style.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright © 2018 Square, Inc. 3 | // 4 | // Licensed under the Apache License, Version 2.0 (the "License"); 5 | // you may not use this file except in compliance with the License. 6 | // You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | // 16 | 17 | import UIKit 18 | 19 | struct Style { 20 | static func setDefaults() { 21 | UINavigationBar.appearance().tintColor = Color.primaryAction 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Controllers/OrderNavigationController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright © 2018 Square, Inc. 3 | // 4 | // Licensed under the Apache License, Version 2.0 (the "License"); 5 | // you may not use this file except in compliance with the License. 6 | // You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | // 16 | 17 | import UIKit 18 | 19 | class OrderNavigationController : UINavigationController { 20 | override func viewDidLoad() { 21 | super.viewDidLoad() 22 | 23 | setNavigationBarHidden(true, animated: false) 24 | } 25 | } 26 | 27 | extension OrderNavigationController: HalfSheetPresentationControllerHeightProtocol { 28 | var halfsheetHeight: CGFloat { 29 | return ((viewControllers.last as? HalfSheetPresentationControllerHeightProtocol)?.halfsheetHeight ?? 0.0) + navigationBar.bounds.height 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Controllers/OrderViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright © 2018 Square, Inc. 3 | // 4 | // Licensed under the Apache License, Version 2.0 (the "License"); 5 | // you may not use this file except in compliance with the License. 6 | // You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | // 16 | 17 | import UIKit 18 | import SquareInAppPaymentsSDK 19 | 20 | protocol OrderViewControllerDelegate: AnyObject { 21 | func didRequestPayWithApplyPay() 22 | func didRequestPayWithCard() 23 | } 24 | 25 | class OrderViewController : UIViewController { 26 | weak var delegate: OrderViewControllerDelegate? 27 | var applePayResponse : String? 28 | 29 | override func loadView() { 30 | let orderView = OrderView() 31 | self.view = orderView 32 | 33 | orderView.addCardButton.addTarget(self, action: #selector(didTapPayButton), for: .touchUpInside) 34 | orderView.applePayButton.addTarget(self, action: #selector(didTapApplePayButton), for: .touchUpInside) 35 | orderView.closeButton.addTarget(self, action: #selector(didTapCloseButton), for: .touchUpInside) 36 | } 37 | 38 | // MARK: - Button tap functions 39 | 40 | @objc private func didTapCloseButton() { 41 | dismiss(animated: true, completion: nil) 42 | } 43 | 44 | @objc private func didTapPayButton() { 45 | delegate?.didRequestPayWithCard() 46 | } 47 | 48 | @objc private func didTapApplePayButton() { 49 | delegate?.didRequestPayWithApplyPay() 50 | } 51 | } 52 | 53 | extension OrderViewController: HalfSheetPresentationControllerHeightProtocol { 54 | var halfsheetHeight: CGFloat { 55 | return (view as! OrderView).stackView.systemLayoutSizeFitting(UIView.layoutFittingExpandedSize).height 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleDisplayName 8 | iOS 🍪 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | NSAppTransportSecurity 26 | 27 | NSAllowsArbitraryLoads 28 | 29 | 30 | UIAppFonts 31 | 32 | SF-Pro-Text-Medium.otf 33 | SF-Pro-Text-Semibold.otf 34 | SF-Pro-Text-Regular.otf 35 | SF-Pro-Text-Bold.otf 36 | 37 | UILaunchStoryboardName 38 | LaunchScreen 39 | UIRequiredDeviceCapabilities 40 | 41 | armv7 42 | 43 | UISupportedInterfaceOrientations 44 | 45 | UIInterfaceOrientationPortrait 46 | 47 | UISupportedInterfaceOrientations~ipad 48 | 49 | UIInterfaceOrientationPortrait 50 | UIInterfaceOrientationPortraitUpsideDown 51 | UIInterfaceOrientationLandscapeLeft 52 | UIInterfaceOrientationLandscapeRight 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Network/ChargeApi.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright © 2018 Square, Inc. 3 | // 4 | // Licensed under the Apache License, Version 2.0 (the "License"); 5 | // you may not use this file except in compliance with the License. 6 | // You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | // 16 | 17 | import Foundation 18 | 19 | class ChargeApi { 20 | static public func processPayment(_ nonce: String, completion: @escaping (String?, String?) -> Void) { 21 | let url = URL(string: Constants.Square.CHARGE_URL)! 22 | var request = URLRequest(url: url) 23 | request.httpMethod = "POST" 24 | let json = ["nonce": nonce] 25 | let httpBody = try? JSONSerialization.data(withJSONObject: json) 26 | request.addValue("Application/json", forHTTPHeaderField: "Content-Type") 27 | request.httpBody = httpBody 28 | URLSession.shared.dataTask(with: request) { data, response, error in 29 | if let error = error as NSError?{ 30 | if error.domain == NSURLErrorDomain { 31 | DispatchQueue.main.async { 32 | completion("", "Could not contact host") 33 | } 34 | } else { 35 | DispatchQueue.main.async { 36 | completion("", "Something went wrong") 37 | } 38 | } 39 | } else if let data = data { 40 | do { 41 | let json = try JSONSerialization.jsonObject(with: data, options: []) as! [String: Any] 42 | if let httpResponse = response as? HTTPURLResponse, httpResponse.statusCode == 200 { 43 | DispatchQueue.main.async { 44 | completion("success", nil) 45 | } 46 | } else { 47 | DispatchQueue.main.async { 48 | completion("", json["errorMessage"] as? String) 49 | } 50 | } 51 | } catch { 52 | DispatchQueue.main.async { 53 | completion("", "Failure") 54 | } 55 | } 56 | } 57 | }.resume() 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Views/Generators/ActionButton.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright © 2018 Square, Inc. 3 | // 4 | // Licensed under the Apache License, Version 2.0 (the "License"); 5 | // you may not use this file except in compliance with the License. 6 | // You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | // 16 | 17 | import UIKit 18 | 19 | class ActionButton: UIButton { 20 | init(backgroundColor: UIColor, title: String?, image: UIImage?) { 21 | super.init(frame: .zero) 22 | 23 | commonInit() 24 | 25 | self.backgroundColor = backgroundColor 26 | setTitle(title, for: .normal) 27 | setImage(image, for: .normal) 28 | } 29 | 30 | override init(frame: CGRect) { 31 | super.init(frame: frame) 32 | commonInit() 33 | } 34 | 35 | required init?(coder aDecoder: NSCoder) { 36 | super.init(coder: aDecoder) 37 | commonInit() 38 | } 39 | 40 | private func commonInit() { 41 | setTitleColor(.white, for: .normal) 42 | 43 | titleLabel?.font = UIFont.systemFont(ofSize: 18, weight: .semibold) 44 | titleLabel?.textAlignment = .center 45 | titleLabel?.adjustsFontSizeToFitWidth = true 46 | translatesAutoresizingMaskIntoConstraints = false 47 | 48 | contentEdgeInsets = UIEdgeInsets(top: 20, left: 20, bottom: 20, right: 20) 49 | } 50 | 51 | override func layoutSubviews() { 52 | super.layoutSubviews() 53 | 54 | layer.cornerRadius = bounds.height / 2 55 | } 56 | 57 | override func touchesBegan(_ touches: Set, with event: UIEvent?) { 58 | super.touchesBegan(touches, with: event) 59 | 60 | alpha = 0.7 61 | } 62 | 63 | override func touchesEnded(_ touches: Set, with event: UIEvent?) { 64 | super.touchesEnded(touches, with: event) 65 | 66 | alpha = 1.0 67 | } 68 | 69 | override func touchesCancelled(_ touches: Set, with event: UIEvent?) { 70 | super.touchesCancelled(touches, with: event) 71 | 72 | alpha = 1.0 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Views/Generators/HairlineView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright © 2018 Square, Inc. 3 | // 4 | // Licensed under the Apache License, Version 2.0 (the "License"); 5 | // you may not use this file except in compliance with the License. 6 | // You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | // 16 | 17 | import UIKit 18 | 19 | class HairlineView : UIView { 20 | override init(frame: CGRect) { 21 | super.init(frame: frame) 22 | commonInit() 23 | } 24 | 25 | required init?(coder aDecoder: NSCoder) { 26 | super.init(coder: aDecoder) 27 | commonInit() 28 | } 29 | 30 | private func commonInit() { 31 | backgroundColor = Color.hairlineColor 32 | } 33 | 34 | override var intrinsicContentSize: CGSize { 35 | return CGSize(width: UIView.noIntrinsicMetric, height: 1) 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Views/Generators/HeaderView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright © 2018 Square, Inc. 3 | // 4 | // Licensed under the Apache License, Version 2.0 (the "License"); 5 | // you may not use this file except in compliance with the License. 6 | // You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | // 16 | 17 | import UIKit 18 | 19 | class HeaderView : UIStackView { 20 | lazy var closeButton = makeCloseButton() 21 | private var title: String = "" 22 | 23 | init(title: String) { 24 | super.init(frame: .zero) 25 | commonInit() 26 | } 27 | 28 | override init(frame: CGRect) { 29 | super.init(frame: frame) 30 | commonInit() 31 | } 32 | 33 | required init(coder aDecoder: NSCoder) { 34 | super.init(coder: aDecoder) 35 | commonInit() 36 | } 37 | 38 | private func commonInit() { 39 | distribution = .fillProportionally 40 | alignment = .center 41 | layoutMargins = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0) 42 | isLayoutMarginsRelativeArrangement = true 43 | addArrangedSubview(closeButton) 44 | addArrangedSubview(makeOrderTitleLabel(text: title)) 45 | 46 | let hiddenCloseButton = makeCloseButton() 47 | hiddenCloseButton.alpha = 0.0 48 | addArrangedSubview(hiddenCloseButton) 49 | } 50 | } 51 | 52 | extension HeaderView { 53 | private func makeCloseButton() -> UIButton { 54 | let button = UIButton(type: .system) 55 | button.setImage(#imageLiteral(resourceName: "CloseButton"), for: .normal) 56 | button.translatesAutoresizingMaskIntoConstraints = false 57 | button.tintColor = Color.descriptionFont 58 | 59 | return button 60 | } 61 | 62 | 63 | private func makeOrderTitleLabel(text: String) -> UILabel { 64 | let label = UILabel() 65 | label.text = "Place your order" 66 | label.textColor = UIColor.black 67 | label.font = UIFont.systemFont(ofSize: 18, weight: .bold) 68 | label.textAlignment = .center 69 | 70 | label.translatesAutoresizingMaskIntoConstraints = false 71 | 72 | return label 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /InAppPaymentsSample/Views/OrderView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright © 2018 Square, Inc. 3 | // 4 | // Licensed under the Apache License, Version 2.0 (the "License"); 5 | // you may not use this file except in compliance with the License. 6 | // You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | // 16 | 17 | import UIKit 18 | 19 | class OrderView : UIView { 20 | lazy var stackView: UIStackView = { 21 | let view = UIStackView() 22 | view.axis = .vertical 23 | view.spacing = 30 24 | view.isLayoutMarginsRelativeArrangement = true 25 | view.layoutMargins = UIEdgeInsets(top: 30, left: 30, bottom: 30, right: 30) 26 | 27 | return view 28 | }() 29 | 30 | lazy var addCardButton = ActionButton(backgroundColor: Color.primaryAction, title: "Pay with card", image: nil) 31 | lazy var applePayButton = ActionButton(backgroundColor: Color.applePayBackground, title: nil, image: #imageLiteral(resourceName: "ApplePay")) 32 | private lazy var headerView = HeaderView(title: "Place your order") 33 | 34 | var closeButton: UIButton { 35 | return headerView.closeButton 36 | } 37 | 38 | override init(frame: CGRect) { 39 | super.init(frame: frame) 40 | commonInit() 41 | } 42 | 43 | required init?(coder aDecoder: NSCoder) { 44 | super.init(coder: aDecoder) 45 | commonInit() 46 | } 47 | 48 | private func commonInit() { 49 | backgroundColor = Color.popupBackground 50 | 51 | stackView.addArrangedSubview(headerView) 52 | stackView.addArrangedSubview(TableRowView(heading: "Ship to", title: "Lauren Nobel", subtitle: "1455 Market Street\nSan Francisco, CA, 94103")) 53 | stackView.addArrangedSubview(HairlineView()) 54 | stackView.addArrangedSubview(TableRowView(heading: "Total", title: "$1.00", subtitle: nil)) 55 | stackView.addArrangedSubview(HairlineView()) 56 | stackView.addArrangedSubview(makeRefundLabel()) 57 | 58 | let payStackView = UIStackView() 59 | payStackView.spacing = 12 60 | payStackView.distribution = .fillEqually 61 | payStackView.addArrangedSubview(addCardButton) 62 | payStackView.addArrangedSubview(applePayButton) 63 | stackView.addArrangedSubview(payStackView) 64 | 65 | addSubview(stackView) 66 | 67 | stackView.pinToTop(ofView: self) 68 | } 69 | } 70 | 71 | extension OrderView { 72 | private func makeRefundLabel() -> UILabel { 73 | let label = UILabel() 74 | 75 | let paragraphStyle = NSMutableParagraphStyle() 76 | paragraphStyle.lineSpacing = 8 77 | let attributes = [NSAttributedString.Key.paragraphStyle : paragraphStyle] 78 | 79 | label.attributedText = NSMutableAttributedString(string: "You can refund this transaction through your Square dashboard, goto squareup.com/dashboard.", attributes: attributes) 80 | label.numberOfLines = 2 81 | label.font = UIFont.systemFont(ofSize: 12, weight: .regular) 82 | label.textColor = UIColor(red: 0.48, green: 0.48, blue: 0.48, alpha: 1) 83 | label.translatesAutoresizingMaskIntoConstraints = false 84 | 85 | return label 86 | } 87 | } 88 | -------------------------------------------------------------------------------- /InAppPaymentsSample/extensions/extension-UIView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright © 2018 Square, Inc. 3 | // 4 | // Licensed under the Apache License, Version 2.0 (the "License"); 5 | // you may not use this file except in compliance with the License. 6 | // You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | // 16 | 17 | import UIKit 18 | 19 | extension UIView { 20 | func roundCorners(corners: UIRectCorner, radius: CGFloat) { 21 | let path = UIBezierPath(roundedRect: bounds, byRoundingCorners: corners, cornerRadii: CGSize(width: radius, height: radius)) 22 | let mask = CAShapeLayer() 23 | mask.path = path.cgPath 24 | layer.mask = mask 25 | } 26 | 27 | func pinToTop(ofView view: UIView) { 28 | translatesAutoresizingMaskIntoConstraints = false 29 | 30 | NSLayoutConstraint.activate([ 31 | self.leadingAnchor.constraint(equalTo: view.leadingAnchor), 32 | view.trailingAnchor.constraint(equalTo: self.trailingAnchor), 33 | self.topAnchor.constraint(equalTo: view.topAnchor), 34 | ]) 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /InAppPaymentsSample/mCommExample.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '12.0' 2 | 3 | source 'https://github.com/CocoaPods/Specs.git' 4 | 5 | target 'InAppPaymentsSample' do 6 | use_frameworks! 7 | 8 | pod 'SquareInAppPaymentsSDK', '1.6.3' 9 | end 10 | -------------------------------------------------------------------------------- /Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SquareInAppPaymentsSDK (1.6.3) 3 | 4 | DEPENDENCIES: 5 | - SquareInAppPaymentsSDK (= 1.6.3) 6 | 7 | SPEC REPOS: 8 | https://github.com/CocoaPods/Specs.git: 9 | - SquareInAppPaymentsSDK 10 | 11 | SPEC CHECKSUMS: 12 | SquareInAppPaymentsSDK: 4d7f1e984fee5d8d7dbd44a67661ca1aedee7f76 13 | 14 | PODFILE CHECKSUM: d79c82ced439825a178c9de65030f0027deda250 15 | 16 | COCOAPODS: 1.15.2 17 | -------------------------------------------------------------------------------- /Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SquareInAppPaymentsSDK (1.6.3) 3 | 4 | DEPENDENCIES: 5 | - SquareInAppPaymentsSDK (= 1.6.3) 6 | 7 | SPEC REPOS: 8 | https://github.com/CocoaPods/Specs.git: 9 | - SquareInAppPaymentsSDK 10 | 11 | SPEC CHECKSUMS: 12 | SquareInAppPaymentsSDK: 4d7f1e984fee5d8d7dbd44a67661ca1aedee7f76 13 | 14 | PODFILE CHECKSUM: d79c82ced439825a178c9de65030f0027deda250 15 | 16 | COCOAPODS: 1.15.2 17 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/README.md: -------------------------------------------------------------------------------- 1 | [![Cocoapods](https://img.shields.io/cocoapods/v/SquareInAppPaymentsSDK)](https://github.com/CocoaPods/CocoaPods) 2 | [![Swift Package Manager compatible](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-4BC51D.svg?style=flat)](https://github.com/apple/swift-package-manager) 3 | [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) 4 | 5 | # Square In-App Payments iOS SDK 6 | 7 | Build remarkable payments experiences in your own apps with Square’s [In-App Payments SDK](https://developer.squareup.com/docs/in-app-payments-sdk/what-it-does). Use our pre-built UI to collect sensitive credit card details from your customers, while matching the look and feel of your app. Square takes care of all the complexity of payments - security, risk, and PCI compliance are managed for you, so that you can focus on building the rest of your application. 8 | 9 | You can also pair our Square In-App Payments SDK with Square’s [Online Payments APIs](https://squareup.com/developers/online-payment-apis) and [Reader SDK](https://squareup.com/developers/reader-sdk) to accept payments across all channels - online, in-person and in-app - while keeping your back office reporting unified in a single system. 10 | 11 | ## Minimum Requirements 12 | - Xcode 15 13 | - iOS 12.0 14 | 15 | ## Installation 16 | 17 | ### 1. Add frameworks 18 | 19 | #### Cocoapods 20 | 21 | Install with [CocoaPods](http://cocoapods.org/) by adding the following to your Podfile: 22 | 23 | ```ruby 24 | use_frameworks! 25 | pod "SquareInAppPaymentsSDK" 26 | pod "SquareBuyerVerificationSDK" 27 | ``` 28 | 29 | #### Carthage 30 | 31 | Install with [Carthage](https://github.com/Carthage/Carthage) by adding the following to your Cartfile: 32 | 33 | ``` 34 | github "square/in-app-payments-ios" 35 | ``` 36 | 37 | #### Swift Package Manager 38 | 39 | Add the following to your top-level `dependencies` block within your `Package.swift`: 40 | 41 | ```swift 42 | dependencies: [ 43 | .package(url: "https://github.com/square/in-app-payments-ios", .upToNextMajor(from: "1.6.3")), 44 | ] 45 | ``` 46 | 47 | ### 2. Add build phase to setup the SquareInAppPaymentsSDK and/or SquareBuyerVerificationSDK framework ### 48 | After adding the framework using any of the above methods, follow the below instructions to complete the setup. 49 | 50 | On your application targets’ Build Phases settings tab, click the + icon and choose New Run Script Phase. Create a Run Script in which you specify your shell (ex: /bin/sh), add the following contents to the script area below the shell: 51 | 52 | ``` 53 | SETUP_SCRIPT=${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}"/SquareInAppPaymentsSDK.framework/setup" 54 | if [ -f "$SETUP_SCRIPT" ]; then 55 | "$SETUP_SCRIPT" 56 | fi 57 | 58 | ``` 59 | 60 | Make sure the above run script is below any `[CP] Embed Pods Frameworks` or `Embed Frameworks` Build Phase. 61 | 62 | 63 | ### iPhone and iPad apps on Mac with Apple silicon 64 | 65 | Square In-App Payments iOS SDK currently does not support iPhone and iPad apps on Mac with Apple silicon. 66 | 67 | ### Getting Started 68 | 69 | For more information and setup instructions, please visit the [Square In-App Payments iOS SDK page](https://developer.squareup.com/docs/in-app-payments-sdk/build-on-ios). 70 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AvailableLibraries 6 | 7 | 8 | LibraryIdentifier 9 | ios-arm64 10 | LibraryPath 11 | SquareInAppPaymentsSDK.framework 12 | SupportedArchitectures 13 | 14 | arm64 15 | 16 | SupportedPlatform 17 | ios 18 | 19 | 20 | LibraryIdentifier 21 | ios-arm64_x86_64-simulator 22 | LibraryPath 23 | SquareInAppPaymentsSDK.framework 24 | SupportedArchitectures 25 | 26 | arm64 27 | x86_64 28 | 29 | SupportedPlatform 30 | ios 31 | SupportedPlatformVariant 32 | simulator 33 | 34 | 35 | CFBundlePackageType 36 | XFWK 37 | XCFrameworkFormatVersion 38 | 1.0 39 | 40 | 41 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/CorePaymentCardResources.bundle/CorePaymentCardResources-Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/CorePaymentCardResources.bundle/CorePaymentCardResources-Info.plist -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/CorePaymentCardResources.bundle/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23D60 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleIdentifier 10 | com.cocoapods.CorePaymentCardResources 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | CorePaymentCardResources 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleSupportedPlatforms 22 | 23 | iPhoneOS 24 | 25 | CFBundleVersion 26 | 1 27 | DTCompiler 28 | com.apple.compilers.llvm.clang.1_0 29 | DTPlatformBuild 30 | 21C52 31 | DTPlatformName 32 | iphoneos 33 | DTPlatformVersion 34 | 17.2 35 | DTSDKBuild 36 | 21C52 37 | DTSDKName 38 | iphoneos17.2 39 | DTXcode 40 | 1510 41 | DTXcodeBuild 42 | 15C65 43 | MinimumOSVersion 44 | 14.0 45 | NSPrincipalClass 46 | 47 | UIDeviceFamily 48 | 49 | 1 50 | 2 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/CorePaymentCardResources.bundle/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/CorePaymentCardResources.bundle/en.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCard -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCardResources.bundle/CorePaymentCardResources-Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCardResources.bundle/CorePaymentCardResources-Info.plist -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCardResources.bundle/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCardResources.bundle/Info.plist -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCardResources.bundle/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCardResources.bundle/en.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Headers/CPCPaymentCard_Protected.h: -------------------------------------------------------------------------------- 1 | // 2 | // CPCPaymentCard_Protected.h 3 | // CorePaymentCard 4 | // 5 | // Created by Michael White on 1/8/13. 6 | // Copyright (c) 2013 Square, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @class CPCString; 13 | 14 | 15 | @interface CPCPaymentCard () 16 | 17 | @property (nonatomic, copy, readwrite) NSString *number; 18 | @property (nonatomic, copy, readwrite) CPCString *secureNumber; 19 | @property (nonatomic, copy, readwrite) NSString *numberLastFour; 20 | @property (nonatomic, assign, readwrite) CPCCardBrand brand; 21 | @property (nonatomic, assign, readwrite) CPCIssuingBank bank; 22 | @property (nonatomic, assign, readwrite) CPCPaymentCardReaderType readerType; 23 | @property (nonatomic, assign, readwrite) CPCPaymentCardEntryMethod entryMethod; 24 | @property (nonatomic, assign, readwrite) CPCPaymentCardCardholderVerificationMethod cardholderVerificationMethod; 25 | 26 | @property (nonatomic, assign, readwrite) BOOL hasValidTrack1; 27 | @property (nonatomic, assign, readwrite) BOOL hasValidTrack2; 28 | @property (nonatomic, assign, readwrite) BOOL hasValidTrack3; 29 | 30 | /** When YES, indicates that the card number may contain letters. Used for cases like alphanumeric gift cards */ 31 | @property (nonatomic, assign) BOOL allowsAlphanumericCardNumber; 32 | 33 | - (BOOL)setNameComponentsFromName:(NSString *)name; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Headers/CPCString.h: -------------------------------------------------------------------------------- 1 | // 2 | // CPCString.h 3 | // CorePaymentCard 4 | // 5 | // Created by Michael White on 1/29/13. 6 | // Copyright (c) 2013 Square, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface CPCString : NSString 13 | 14 | @property (nonatomic, assign, readonly) BOOL hasErasedContents; 15 | 16 | - (void)eraseContents; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Headers/CorePaymentCard-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "NSBundle+CPCAdditions.h" 14 | #import "NSString+CPCAdditions.h" 15 | #import "CorePaymentCard.h" 16 | #import "CorePaymentCardDefines.h" 17 | #import "CPCCardUtility.h" 18 | #import "CPCPaymentCard.h" 19 | #import "CPCPaymentCard_Protected.h" 20 | #import "CPCString.h" 21 | 22 | FOUNDATION_EXPORT double CorePaymentCardVersionNumber; 23 | FOUNDATION_EXPORT const unsigned char CorePaymentCardVersionString[]; 24 | 25 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Headers/CorePaymentCard.h: -------------------------------------------------------------------------------- 1 | // 2 | // CorePaymentCard.h 3 | // CorePaymentCard 4 | // 5 | // Created by Michael White on 1/8/13. 6 | // Copyright (c) 2013 Square, Inc. All rights reserved. 7 | // 8 | 9 | // Classes 10 | #import 11 | #import 12 | #import 13 | #import 14 | #import 15 | 16 | // Categories 17 | #import 18 | 19 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Headers/CorePaymentCardDefines.h: -------------------------------------------------------------------------------- 1 | // 2 | // CorePaymentCardDefines.h 3 | // CorePaymentCard 4 | // 5 | // Created by Matthias Plappert on 1/23/13. 6 | // Copyright (c) 2013 Square, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | typedef NS_ENUM(NSInteger, CPCCardBrandStyle) { 13 | CPCCardBrandStyleDefault = 0, 14 | CPCCardBrandStyleEtched, 15 | CPCCardBrandStyleDisabled, 16 | CPCCardBrandStyleBlack, 17 | CPCCardBrandStyleColorful, 18 | }; 19 | 20 | typedef NS_ENUM(NSInteger, CPCCardVerificationValueSide) { 21 | CPCCardVerificationValueSideBack = 0, 22 | CPCCardVerificationValueSideFront 23 | }; 24 | 25 | typedef NS_ENUM(NSInteger, CPCCardBrand) { 26 | CPCCardBrandVisa = 0x0, 27 | CPCCardBrandMasterCard = 0x1, 28 | CPCCardBrandDiscover = 0x2, 29 | CPCCardBrandAmericanExpress = 0x3, 30 | CPCCardBrandJCB = 0x4, 31 | CPCCardBrandUnknown = 0x5, 32 | CPCCardBrandDinersClub = 0x6, 33 | CPCCardBrandChinaUnionPay = 0x7, 34 | CPCCardBrandSquareGiftCard = 0x8, 35 | CPCCardBrandInterac = 0x9, 36 | CPCCardBrandEftpos = 0xA, 37 | CPCCardBrandSquareCapitalCard = 0xB, 38 | CPCCardBrandFelica = 0xC, 39 | CPCCardBrandEBT = 0xD, 40 | CPCCardBrandCount = 0xE 41 | }; 42 | 43 | typedef NS_ENUM(NSInteger, CPCIssuingBank) { 44 | CPCIssuingBankUnknown = 0x0, 45 | CPCIssuingBankAfterpay = 0x1, 46 | CPCIssuingBankCashApp = 0x2, 47 | CPCIssuingBankSquare = 0x3, 48 | }; 49 | 50 | typedef NS_ENUM(NSInteger, CPCFelicaCardBrand) { 51 | CPCFelicaCardBrandUnknown = 0, 52 | CPCFelicaCardBrandCommon, 53 | CPCFelicaCardBrandQUICPay, 54 | CPCFelicaCardBrandID, 55 | CPCFelicaCardBrandSuica, 56 | CPCFelicaCardBrandRakuten, 57 | CPCFelicaCardBrandWAON, 58 | CPCFelicaCardBrandNanaco, 59 | CPCFelicaCardBrandPiTaPa 60 | }; 61 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Headers/NSBundle+CPCAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSBundle+CPCAdditions.h 3 | // CorePaymentCard 4 | // 5 | // Created by Michael White on 1/8/13. 6 | // Copyright (c) 2013 Square, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface NSBundle (CPCAdditions) 13 | 14 | + (NSBundle *)corePaymentCardResourcesBundle; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Headers/NSString+CPCAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+CPCAdditions.h 3 | // CorePaymentCard 4 | // 5 | // Created by Michael White on 1/9/13. 6 | // Copyright (c) 2013 Square, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface NSString (CPCAdditions) 13 | 14 | - (NSString *)CPC_stringByRemovingNonNumericCharacters; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Info.plist -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module CorePaymentCard { 2 | umbrella header "CorePaymentCard-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/PrivateHeaders/CPCCardBrandDetection.h: -------------------------------------------------------------------------------- 1 | // 2 | // CPCCardBrandDetection.h 3 | // CorePaymentCard 4 | // 5 | // Created by Ken Wigginton on 4/10/15. 6 | // Copyright (c) 2015 Square, Inc. All rights reserved. 7 | // 8 | // This code is duplicated from riker's 9 | // It is tested extensively both there and in this library. 10 | // If you have any changes to make, please do so in both locations. 11 | // TODO(kenw): RI-8796 DRY up this logic into a tiny submodule. 12 | 13 | #pragma once 14 | 15 | #include 16 | #include 17 | 18 | #include "CorePaymentCardDefines.h" 19 | 20 | /// Returns Issuer ID code for a pan with minimum of first four digits non-redacted. 21 | CPCCardBrand cpc_payment_get_issuer_for_pan(uint8_t const *number); 22 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/PrivateHeaders/CorePaymentCardDefines_Internal.h: -------------------------------------------------------------------------------- 1 | // 2 | // CorePaymentCardDefines_Internal.h 3 | // CorePaymentCard 4 | // 5 | // Created by Michael White 1/31/13. 6 | // Copyright (c) 2013 Square Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Headers/PKPaymentRequest+Square.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 3 | // 4 | // Your use of this software is subject to the Square Developer Terms of 5 | // Service (https://squareup.com/legal/developers). This copyright notice shall 6 | // be included in all copies or substantial portions of the software. 7 | // 8 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 11 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 12 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 13 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 14 | // THE SOFTWARE. 15 | // 16 | 17 | #import 18 | 19 | /** 20 | PKPaymentRequest additions for using Apple Pay with Square. 21 | */ 22 | @interface PKPaymentRequest (Square) 23 | 24 | /** 25 | Creates a PKPaymentRequest instance with Square-supported networks and merchant capabilities. 26 | 27 | @param merchantIdentifier Your merchant identifier. This must be one of the Merchant IDs associated with your Apple Developer account. 28 | @param countryCode The two-letter ISO 3166 country code for the country where the payment will be processed. E.g. "US". 29 | @param currencyCode The three-letter ISO 4217 currency code. E.g. "USD". 30 | */ 31 | + (nonnull PKPaymentRequest *)squarePaymentRequestWithMerchantIdentifier:(nonnull NSString *)merchantIdentifier 32 | countryCode:(nonnull NSString *)countryCode 33 | currencyCode:(nonnull NSString *)currencyCode NS_SWIFT_NAME(squarePaymentRequest(merchantIdentifier:countryCode:currencyCode:)); 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Headers/SQIPApplePayNonceRequest.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 3 | // 4 | // Your use of this software is subject to the Square Developer Terms of 5 | // Service (https://squareup.com/legal/developers). This copyright notice shall 6 | // be included in all copies or substantial portions of the software. 7 | // 8 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 11 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 12 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 13 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 14 | // THE SOFTWARE. 15 | // 16 | 17 | #import 18 | 19 | @class PKPayment; 20 | @class SQIPCardDetails; 21 | 22 | /** 23 | A completion handler that handles the result of an Apple Pay nonce request. 24 | @param cardDetails Contains details about the card, including the nonce. `nil` when the request fails. 25 | @param error An error with domain `SQIPApplePayNonceRequestErrorDomain` when the nonce request fails; otherwise, `nil`. 26 | 27 | @see `SQIPApplePayNonceRequestError` for possible error types. 28 | */ 29 | typedef void (^SQIPApplePayNonceRequestCompletionHandler)(SQIPCardDetails *_Nullable cardDetails, NSError *_Nullable error); 30 | 31 | 32 | /** 33 | Lets the application retrieve a card nonce using a PKPayment instance obtained from Apple Pay. 34 | */ 35 | @interface SQIPApplePayNonceRequest : NSObject 36 | 37 | /** 38 | Creates a new Apple Pay nonce request. 39 | 40 | @param payment The PKPayment that should be used to request a nonce. 41 | */ 42 | - (nonnull instancetype)initWithPayment:(nonnull PKPayment *)payment; 43 | 44 | /** 45 | Performs the request to retrieve a card nonce. 46 | 47 | @param completionHandler The completion handler to be called upon success or failure of the nonce request. 48 | */ 49 | - (void)performWithCompletionHandler:(nonnull SQIPApplePayNonceRequestCompletionHandler)completionHandler; 50 | 51 | /** 52 | :nodoc: 53 | `init` is unavailable. Use `-[SQIPApplePayNonceRequest initWithPayment:]` instead. 54 | */ 55 | - (nonnull instancetype)init NS_UNAVAILABLE; 56 | 57 | /** 58 | :nodoc: 59 | `new` is unavailable. Use `-[SQIPApplePayNonceRequest initWithPayment:]` instead. 60 | */ 61 | + (nonnull instancetype)new NS_UNAVAILABLE; 62 | 63 | @end 64 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Headers/SQIPApplePayNonceRequestError.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 3 | // 4 | // Your use of this software is subject to the Square Developer Terms of 5 | // Service (https://squareup.com/legal/developers). This copyright notice shall 6 | // be included in all copies or substantial portions of the software. 7 | // 8 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 11 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 12 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 13 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 14 | // THE SOFTWARE. 15 | // 16 | 17 | #import 18 | 19 | 20 | /** 21 | The domain for errors that occur when requesting a card nonce using Apple Pay. 22 | */ 23 | extern NSString *_Nonnull const SQIPApplePayNonceRequestErrorDomain; 24 | 25 | /** 26 | Possible error codes that can be returned as a result of attempting to create a card nonce. 27 | */ 28 | typedef NS_ERROR_ENUM(SQIPApplePayNonceRequestErrorDomain, SQIPApplePayNonceRequestError){ 29 | 30 | /** 31 | Square In-App Payments SDK could not connect to the network. 32 | */ 33 | SQIPApplePayNonceRequestErrorNoNetwork = 1, 34 | 35 | /** 36 | The version of the Square In-App Payments SDK used by this application is no longer supported. 37 | */ 38 | SQIPApplePayNonceRequestErrorUnsupportedSDKVersion, 39 | 40 | /** 41 | `SQIPApplePayNonceRequest` was used in an unexpected or unsupported way. 42 | See `userInfo[SQIPErrorDebugCodeKey]` and `userInfo[SQIPErrorDebugMessageKey]` for more information. 43 | */ 44 | SQIPApplePayNonceRequestErrorUsageError, 45 | }; 46 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Headers/SQIPCard.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 3 | // 4 | // Your use of this software is subject to the Square Developer Terms of 5 | // Service (https://squareup.com/legal/developers). This copyright notice shall 6 | // be included in all copies or substantial portions of the software. 7 | // 8 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 11 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 12 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 13 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 14 | // THE SOFTWARE. 15 | // 16 | 17 | #import 18 | 19 | #import 20 | #import 21 | #import 22 | 23 | /** 24 | Represents a payment card. 25 | */ 26 | @interface SQIPCard : NSObject 27 | 28 | /** 29 | The card brand (for example, Visa). 30 | */ 31 | @property (nonatomic, assign, readonly) SQIPCardBrand brand; 32 | 33 | /** 34 | The last 4 digits of the card number. 35 | */ 36 | @property (nonatomic, strong, readonly, nonnull) NSString *lastFourDigits; 37 | 38 | /** 39 | The expiration month of the card. Ranges between 1 and 12. 40 | */ 41 | @property (nonatomic, assign, readonly) NSUInteger expirationMonth; 42 | 43 | /** 44 | The 4-digit expiration year of the card. 45 | */ 46 | @property (nonatomic, assign, readonly) NSUInteger expirationYear; 47 | 48 | /** 49 | The billing postal code associated with the card, if available. 50 | */ 51 | @property (nonatomic, strong, readonly, nullable) NSString *postalCode; 52 | 53 | /** 54 | The type of card (for example, Credit or Debit) 55 | Note: This property is experimental and will always return `unknown` 56 | */ 57 | @property (nonatomic, assign, readonly) SQIPCardType type; 58 | 59 | /** 60 | The prepaid type of the credit card (for example, a Prepaid Gift Card) 61 | Note: This property is experimental and will always return `unknown` 62 | */ 63 | @property (nonatomic, assign, readonly) SQIPCardPrepaidType prepaidType; 64 | 65 | /** 66 | :nodoc: 67 | `init` is unavailable. 68 | */ 69 | - (nonnull instancetype)init NS_UNAVAILABLE; 70 | 71 | /** 72 | :nodoc: 73 | `new` is unavailable. 74 | */ 75 | + (nonnull instancetype) new NS_UNAVAILABLE; 76 | 77 | @end 78 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Headers/SQIPCardBrand.h: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 4 | // 5 | // Your use of this software is subject to the Square Developer Terms of 6 | // Service (https://squareup.com/legal/developers). This copyright notice shall 7 | // be included in all copies or substantial portions of the software. 8 | // 9 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 10 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 11 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 12 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 13 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 14 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 15 | // THE SOFTWARE. 16 | // 17 | 18 | #import 19 | 20 | /** Indicates a card's brand, such as Visa. */ 21 | typedef NS_CLOSED_ENUM(NSUInteger, SQIPCardBrand) { 22 | 23 | /** An unidentified brand */ 24 | SQIPCardBrandOtherBrand = 0, 25 | 26 | /** Visa */ 27 | SQIPCardBrandVisa, 28 | 29 | /** Mastercard */ 30 | SQIPCardBrandMastercard, 31 | 32 | /** American Express */ 33 | SQIPCardBrandAmericanExpress, 34 | 35 | /** Discover */ 36 | SQIPCardBrandDiscover, 37 | 38 | /** Diners Club International */ 39 | SQIPCardBrandDiscoverDiners, 40 | 41 | /** JCB */ 42 | SQIPCardBrandJCB, 43 | 44 | /** UnionPay International/China UnionPay */ 45 | SQIPCardBrandChinaUnionPay, 46 | 47 | /** Square Gift Card */ 48 | SQIPCardBrandSquareGiftCard 49 | }; 50 | 51 | /** 52 | Creates a SQIPCardBrand from a string. i.e. "VISA" -> SQIPCardBrandVisa. 53 | :nodoc: 54 | */ 55 | extern SQIPCardBrand SQIPCardBrandFromString(NSString *_Nonnull cardBrand) CF_SWIFT_NAME(SQIPCardBrand.init(_:)); 56 | 57 | /** 58 | Creates a string from an SQIPCardBrand. i.e. SQIPCardBrandVisa -> "VISA". 59 | :nodoc: 60 | */ 61 | extern NSString *_Nonnull NSStringFromSQIPCardBrand(SQIPCardBrand cardBrand) CF_SWIFT_NAME(getter:SQIPCardBrand.description(self:)); 62 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Headers/SQIPCardDetails.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 3 | // 4 | // Your use of this software is subject to the Square Developer Terms of 5 | // Service (https://squareup.com/legal/developers). This copyright notice shall 6 | // be included in all copies or substantial portions of the software. 7 | // 8 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 11 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 12 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 13 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 14 | // THE SOFTWARE. 15 | // 16 | 17 | #import 18 | 19 | @class SQIPCard; 20 | 21 | /** 22 | Represents the result of a successful operation to process card payment information. 23 | */ 24 | @interface SQIPCardDetails : NSObject 25 | 26 | /** 27 | A one-time-use payment token that is used with the Payments API to [charge the card](https://developer.squareup.com/reference/square/payments-api/create-payment) or the Customers API to [store the Card on File](https://developer.squareup.com/reference/square/customers-api/create-customer-card). 28 | */ 29 | @property (nonatomic, strong, readonly, nonnull) NSString *nonce; 30 | 31 | /** 32 | The payment card. 33 | */ 34 | @property (nonatomic, strong, readonly, nonnull) SQIPCard *card; 35 | 36 | /** 37 | :nodoc: 38 | `init` is unavailable. 39 | */ 40 | - (nonnull instancetype)init NS_UNAVAILABLE; 41 | 42 | /** 43 | :nodoc: 44 | `new` is unavailable. 45 | */ 46 | + (nonnull instancetype) new NS_UNAVAILABLE; 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Headers/SQIPCardPrepaidType.h: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 4 | // 5 | // Your use of this software is subject to the Square Developer Terms of 6 | // Service (https://squareup.com/legal/developers). This copyright notice shall 7 | // be included in all copies or substantial portions of the software. 8 | // 9 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 10 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 11 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 12 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 13 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 14 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 15 | // THE SOFTWARE. 16 | // 17 | 18 | 19 | #import 20 | 21 | /** 22 | Indicates if a card is prepaid. 23 | */ 24 | typedef NS_ENUM(NSUInteger, SQIPCardPrepaidType) { 25 | /** Unable to determine whether the card is prepaid or not. */ 26 | SQIPCardPrepaidTypeUnknown, 27 | 28 | /** Card that is not prepaid */ 29 | SQIPCardPrepaidTypeNotPrepaid, 30 | 31 | /** Prepaid card */ 32 | SQIPCardPrepaidTypePrepaid, 33 | }; 34 | 35 | /** 36 | Creates a SQIPCardPrepaidType from a string. i.e. "PREPAID" -> SQIPCardPrepaidTypePrepaid. 37 | :nodoc: 38 | */ 39 | extern SQIPCardPrepaidType SQIPCardPrepaidTypeFromString(NSString *_Nullable prepaidType) CF_SWIFT_NAME(SQIPCardPrepaidType.init(_:)); 40 | 41 | /** 42 | Creates a string from a SQIPCardPrepaidType. i.e. SQIPCardPrepaidTypePrepaid -> "PREPAID". 43 | :nodoc: 44 | */ 45 | extern NSString *_Nonnull NSStringFromSQIPCardPrepaidType(SQIPCardPrepaidType prepaidType) CF_SWIFT_NAME(getter:SQIPCardPrepaidType.description(self:)); 46 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Headers/SQIPCardType.h: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 4 | // 5 | // Your use of this software is subject to the Square Developer Terms of 6 | // Service (https://squareup.com/legal/developers). This copyright notice shall 7 | // be included in all copies or substantial portions of the software. 8 | // 9 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 10 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 11 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 12 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 13 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 14 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 15 | // THE SOFTWARE. 16 | // 17 | 18 | #import 19 | 20 | /** 21 | Indicates a card's type. Such as Credit 22 | */ 23 | typedef NS_ENUM(NSUInteger, SQIPCardType) { 24 | /** Unidentified type */ 25 | SQIPCardTypeUnknown, 26 | 27 | /** Credit Card */ 28 | SQIPCardTypeCredit, 29 | 30 | /** Debit Card */ 31 | SQIPCardTypeDebit, 32 | }; 33 | 34 | /** 35 | Creates a SQIPCardType from a string. i.e. "CREDIT" -> SQIPCardTypeCredit. 36 | :nodoc: 37 | */ 38 | extern SQIPCardType SQIPCardTypeFromString(NSString *_Nullable type) CF_SWIFT_NAME(SQIPCardType.init(_:)); 39 | 40 | /** 41 | Creates a string from an SQIPCardType. i.e. SQIPCardTypeCredit -> "CREDIT". 42 | :nodoc: 43 | */ 44 | extern NSString *_Nonnull NSStringFromSQIPCardType(SQIPCardType cardType) CF_SWIFT_NAME(getter:SQIPCardType.description(self:)); 45 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Headers/SQIPErrorConstants.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 3 | // 4 | // Your use of this software is subject to the Square Developer Terms of 5 | // Service (https://squareup.com/legal/developers). This copyright notice shall 6 | // be included in all copies or substantial portions of the software. 7 | // 8 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 11 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 12 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 13 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 14 | // THE SOFTWARE. 15 | // 16 | 17 | #import 18 | 19 | /** 20 | The `NSError` `userInfo` key used to retrieve a detailed debug code string for the error that occurred. 21 | */ 22 | extern NSString *_Nonnull const SQIPErrorDebugCodeKey; 23 | 24 | /** 25 | The `NSError` `userInfo` key used to retrieve a human-readable message containing additional debug information related to the possible cause of the error. 26 | Debug messages should not be displayed to customers. 27 | */ 28 | extern NSString *_Nonnull const SQIPErrorDebugMessageKey; 29 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Headers/SQIPInAppPaymentsSDK.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 3 | // 4 | // Your use of this software is subject to the Square Developer Terms of 5 | // Service (https://squareup.com/legal/developers). This copyright notice shall 6 | // be included in all copies or substantial portions of the software. 7 | // 8 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 11 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 12 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 13 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 14 | // THE SOFTWARE. 15 | // 16 | 17 | #import 18 | 19 | /** 20 | Manages configuration of the Square In-App Payments SDK. 21 | */ 22 | @interface SQIPInAppPaymentsSDK : NSObject 23 | 24 | /** 25 | The Square application ID used to obtain a card nonce. 26 | @warning You must set a Square application ID before attempting any other SDK operation, or your app will crash. 27 | */ 28 | @property (class, nonatomic, strong, nullable) NSString *squareApplicationID; 29 | 30 | /** 31 | `true` if the device supports Apple Pay and the customer's wallet contains a card supported by Square; `false` otherwise. 32 | */ 33 | @property (class, nonatomic, readonly) BOOL canUseApplePay; 34 | 35 | /** 36 | :nodoc: 37 | `init` is unavailable. 38 | */ 39 | - (nonnull instancetype)init NS_UNAVAILABLE; 40 | 41 | /** 42 | :nodoc: 43 | `new` is unavailable. 44 | */ 45 | + (nonnull instancetype)new NS_UNAVAILABLE; 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Headers/SQIPSecureRemoteCommerce.h: -------------------------------------------------------------------------------- 1 | // 2 | // SQIPSecureRemoteCommerce.h 3 | // SquareInAppPaymentsSDK 4 | // 5 | // Created by Tyten Teegarden on 12/9/20. 6 | // Copyright © 2020 Square, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "SQIPCardDetails.h" 11 | #import "SQIPSecureRemoteCommerceParameters.h" 12 | #import 13 | 14 | /** 15 | This class starts and handles a Secure Remote Commerce transaction. 16 | 17 | @discussion A strong reference to the object must be maintained. 18 | */ 19 | @interface SQIPSecureRemoteCommerce : NSObject 20 | typedef void (^SQIPSecureRemoteCommerceCompletionHandler)(SQIPCardDetails *_Nullable cardDetails, NSError *_Nullable error); 21 | 22 | /** 23 | Starts the Secure Remote Commerce transaction. Calling this method will modally present the dialogs over the designated view controller. 24 | 25 | @discussion If the request completes successfully the completion handler will pass in card details and no error. If there is an error, the error will be passed without card details. If the action is cancelled both the details and the error will be `nil`. 26 | 27 | @param presentingViewController The view controller over whose view the dialogs willappear. 28 | @param secureRemoteCommerceParameters The necessary parameters for conducting a Secure Remote Commerce Transaction. Currently just the amount in USD. 29 | @param completionHandler The completion handler to be called upon success or failure of the nonce request. 30 | */ 31 | - (void)createPaymentRequest:(nonnull UIViewController *)presentingViewController 32 | secureRemoteCommerceParameters:(SQIPSecureRemoteCommerceParameters)secureRemoteCommerceParameters 33 | completionHandler:(nonnull SQIPSecureRemoteCommerceCompletionHandler)completionHandler; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Headers/SQIPSecureRemoteCommerceParameters.h: -------------------------------------------------------------------------------- 1 | // 2 | // SQIPSecureRemoteCommerceParameters.h 3 | // SquareInAppPaymentsSDK 4 | // 5 | // Created by Tyten Teegarden on 12/18/20. 6 | // Copyright © 2020 Square, Inc. All rights reserved. 7 | // 8 | 9 | /// :nodoc: 10 | typedef struct { 11 | NSInteger amount; 12 | } SQIPSecureRemoteCommerceParameters; 13 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Headers/SQIPTheme.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 3 | // 4 | // Your use of this software is subject to the Square Developer Terms of 5 | // Service (https://squareup.com/legal/developers). This copyright notice shall 6 | // be included in all copies or substantial portions of the software. 7 | // 8 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 11 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 12 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 13 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 14 | // THE SOFTWARE. 15 | // 16 | 17 | #import 18 | 19 | /** 20 | Encapsulates options used to style SQIPCardEntryViewController. 21 | */ 22 | @interface SQIPTheme : NSObject 23 | 24 | /** 25 | The font used for text fields and informational messages. 26 | */ 27 | @property (nonatomic, strong, nonnull) UIFont *font; 28 | 29 | /** 30 | The background color of the card entry view controller. 31 | */ 32 | @property (nonatomic, strong, nonnull) UIColor *backgroundColor; 33 | 34 | /** 35 | The fill color for text fields. 36 | */ 37 | @property (nonatomic, strong, nonnull) UIColor *foregroundColor; 38 | 39 | /** 40 | The text field text color. 41 | */ 42 | @property (nonatomic, strong, nonnull) UIColor *textColor; 43 | 44 | /** 45 | The text field placeholder text color. 46 | */ 47 | @property (nonatomic, strong, nonnull) UIColor *placeholderTextColor; 48 | 49 | /** 50 | The tint color reflected in: 51 | * the text field cursor 52 | * the save button background color when enabled 53 | * the loading indicator 54 | */ 55 | @property (nonatomic, strong, nonnull) UIColor *tintColor; 56 | 57 | /** 58 | The text color used to display informational messages (e.g. "Enter the three digit CVV number"). 59 | */ 60 | @property (nonatomic, strong, nonnull) UIColor *messageColor; 61 | 62 | /** 63 | The text color used to display errors. 64 | */ 65 | @property (nonatomic, strong, nonnull) UIColor *errorColor; 66 | 67 | /** 68 | The title of the save button. 69 | 70 | */ 71 | @property (nonatomic, strong, nonnull) NSString *saveButtonTitle; 72 | 73 | /** 74 | The save button font. 75 | */ 76 | @property (nonatomic, strong, nonnull) UIFont *saveButtonFont; 77 | 78 | /** 79 | The text color of the save button when enabled. 80 | */ 81 | @property (nonatomic, strong, nonnull) UIColor *saveButtonTextColor; 82 | 83 | /** 84 | The keyboard appearance. 85 | */ 86 | @property (nonatomic) UIKeyboardAppearance keyboardAppearance; 87 | 88 | /** 89 | Sets an optional custom cancel button used to dismiss the view controller. 90 | This property is nil by default, indicating that the default cancel button should be used. 91 | */ 92 | 93 | @property (nonatomic, strong, nullable) UIBarButtonItem *cancelButton; 94 | 95 | @end 96 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Headers/SquareInAppPaymentsSDK-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | # import 3 | # if __has_include() 4 | # import 5 | # endif 6 | #else 7 | # ifndef FOUNDATION_EXPORT 8 | # if defined(__cplusplus) 9 | # define FOUNDATION_EXPORT extern "C" 10 | # else 11 | # define FOUNDATION_EXPORT extern 12 | # endif 13 | # endif 14 | #endif 15 | 16 | #import "PKPaymentRequest+Square.h" 17 | #import "SQIPApplePayNonceRequest.h" 18 | #import "SQIPApplePayNonceRequestError.h" 19 | #import "SQIPCard.h" 20 | #import "SQIPCardBrand.h" 21 | #import "SQIPCardDetails.h" 22 | #import "SQIPCardEntryViewController.h" 23 | #import "SQIPCardPrepaidType.h" 24 | #import "SQIPCardType.h" 25 | #import "SQIPErrorConstants.h" 26 | #import "SQIPInAppPaymentsSDK.h" 27 | #import "SQIPSecureRemoteCommerce.h" 28 | #import "SQIPSecureRemoteCommerceParameters.h" 29 | #import "SQIPTheme.h" 30 | 31 | FOUNDATION_EXPORT double SquareInAppPaymentsSDKVersionNumber; 32 | FOUNDATION_EXPORT const unsigned char SquareInAppPaymentsSDKVersionString[]; 33 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Info.plist -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module SquareInAppPaymentsSDK { 2 | umbrella header "SquareInAppPaymentsSDK-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/Assets.car: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/Assets.car -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/Base.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/Base.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23D60 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleIdentifier 10 | com.cocoapods.SQIPAssetFinderResources 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | SQIPAssetFinderResources 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleSupportedPlatforms 22 | 23 | iPhoneOS 24 | 25 | CFBundleVersion 26 | 1 27 | DTCompiler 28 | com.apple.compilers.llvm.clang.1_0 29 | DTPlatformBuild 30 | 21C52 31 | DTPlatformName 32 | iphoneos 33 | DTPlatformVersion 34 | 17.2 35 | DTSDKBuild 36 | 21C52 37 | DTSDKName 38 | iphoneos17.2 39 | DTXcode 40 | 1510 41 | DTXcodeBuild 42 | 15C65 43 | MinimumOSVersion 44 | 15.0 45 | NSPrincipalClass 46 | 47 | UIDeviceFamily 48 | 49 | 1 50 | 2 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/ca-ES.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/ca-ES.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en-AU.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en-AU.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en-CA.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en-CA.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en-GB.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en-GB.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en-IE.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en-IE.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/es-ES.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/es-ES.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/es.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/es.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/fr-CA.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/fr-CA.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/fr.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/fr.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/ja.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/ja.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/Assets.car: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/Assets.car -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23D60 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleIdentifier 10 | com.cocoapods.SQIPCardEntryViewResources 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | SQIPCardEntryViewResources 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleSupportedPlatforms 22 | 23 | iPhoneOS 24 | 25 | CFBundleVersion 26 | 1 27 | DTCompiler 28 | com.apple.compilers.llvm.clang.1_0 29 | DTPlatformBuild 30 | 21C52 31 | DTPlatformName 32 | iphoneos 33 | DTPlatformVersion 34 | 17.2 35 | DTSDKBuild 36 | 21C52 37 | DTSDKName 38 | iphoneos17.2 39 | DTXcode 40 | 1510 41 | DTXcodeBuild 42 | 15C65 43 | MinimumOSVersion 44 | 15.0 45 | NSPrincipalClass 46 | 47 | UIDeviceFamily 48 | 49 | 1 50 | 2 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/ca-ES.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/ca-ES.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en-AU.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en-AU.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en-CA.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en-CA.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en-GB.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en-GB.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en-IE.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en-IE.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/es-ES.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/es-ES.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/es.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/es.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/fr-CA.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/fr-CA.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/fr.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/fr.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/ja.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/ja.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23D60 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleIdentifier 10 | com.cocoapods.SQIPNetworkingResources 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | SQIPNetworkingResources 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleSupportedPlatforms 22 | 23 | iPhoneOS 24 | 25 | CFBundleVersion 26 | 1 27 | DTCompiler 28 | com.apple.compilers.llvm.clang.1_0 29 | DTPlatformBuild 30 | 21C52 31 | DTPlatformName 32 | iphoneos 33 | DTPlatformVersion 34 | 17.2 35 | DTSDKBuild 36 | 21C52 37 | DTSDKName 38 | iphoneos17.2 39 | DTXcode 40 | 1510 41 | DTXcodeBuild 42 | 15C65 43 | MinimumOSVersion 44 | 15.0 45 | NSPrincipalClass 46 | 47 | UIDeviceFamily 48 | 49 | 1 50 | 2 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/ca-ES.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/ca-ES.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en-AU.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en-AU.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en-CA.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en-CA.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en-GB.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en-GB.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en-IE.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en-IE.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/es-ES.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/es-ES.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/es.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/es.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/fr-CA.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/fr-CA.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/fr.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/fr.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/ja.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/ja.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/trustedcerts.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/trustedcerts.plist -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SquareInAppPaymentsSDK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/SquareInAppPaymentsSDK -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64/SquareInAppPaymentsSDK.framework/setup: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -ex 4 | 5 | # Don't choke if projects or targets have spaces in the name 6 | OLDIFS=$IFS 7 | IFS=$(echo "") 8 | 9 | IAP_SDK_FRAMEWORKS=("SquareInAppPaymentsSDK" "SquareBuyerVerificationSDK") 10 | MAIN_FRAMEWORKS_DIR="$BUILT_PRODUCTS_DIR/$FRAMEWORKS_FOLDER_PATH" 11 | 12 | # Unpack frameworks 13 | for FRAMEWORK_NAME in "${IAP_SDK_FRAMEWORKS[@]}"; do 14 | FRAMEWORK_PATH="$FRAMEWORK_NAME.framework/Frameworks" 15 | MAIN_NESTED_FRAMEWORKS_DIR="$MAIN_FRAMEWORKS_DIR/$FRAMEWORK_PATH" 16 | 17 | if [ -d "$MAIN_NESTED_FRAMEWORKS_DIR" ]; then 18 | # Handle all nested frameworks that are fat frameworks 19 | find "$MAIN_NESTED_FRAMEWORKS_DIR" -name '*.framework' ! -path '*.xcframework/*' -type d | while read -r FRAMEWORK; do 20 | rm -rf "$MAIN_FRAMEWORKS_DIR/$(basename "$FRAMEWORK")/" 21 | mv -f "$FRAMEWORK/" "$MAIN_FRAMEWORKS_DIR" 22 | done 23 | 24 | # Handle all nested frameworks that are xcframeworks 25 | find "$MAIN_NESTED_FRAMEWORKS_DIR" -name '*.xcframework' -type d | while read -r XCFRAMEWORK; do 26 | 27 | # $SDK_NAMES is an environment variable set by the xcodebuild process 28 | # Possible values can be seen by running `xcodebuild -showsdks` 29 | for SDK in $SDK_NAMES; do 30 | 31 | # Only allow iphoneos and iphonesimulator SDKs 32 | if ! [[ $SDK =~ .*iphone.* ]]; then 33 | echo "Unable to setup $(basename "$XCFRAMEWORK"). Only building against iOS SDKs is supported at the moment." 34 | exit 1 35 | fi 36 | 37 | FIND_COMMAND="find '$XCFRAMEWORK' -name '*.framework' -type d" 38 | if [[ $SDK =~ .*simulator.* ]]; then 39 | FIND_COMMAND="$FIND_COMMAND -path '*-simulator/*'" 40 | else 41 | FIND_COMMAND="$FIND_COMMAND ! -path '*-simulator/*'" 42 | fi 43 | 44 | eval "$FIND_COMMAND" | while read -r ARCH_FRAMEWORK; do 45 | rm -rf "$MAIN_FRAMEWORKS_DIR/$(basename "$ARCH_FRAMEWORK")/" 46 | mv -f "$ARCH_FRAMEWORK/" "$MAIN_FRAMEWORKS_DIR" 47 | rm -rf "$(dirname "$ARCH_FRAMEWORK")" 48 | done 49 | done 50 | 51 | # Cleanup unused SDK slices of xcframework 52 | rm -rf "$XCFRAMEWORK" 53 | done 54 | 55 | # If the nested framework directory does not contain any further framework binaries then clean it up 56 | if [ -z "$(find "$MAIN_NESTED_FRAMEWORKS_DIR" -name "*.framework" -type d)" ]; then 57 | rm -rf "$MAIN_NESTED_FRAMEWORKS_DIR" 58 | fi 59 | fi 60 | done 61 | 62 | IFS=$OLDIFS 63 | 64 | # Don't choke if projects or targets have spaces in the name 65 | OLDIFS=$IFS 66 | IFS=$(echo "") 67 | 68 | # Delete this script if archiving 69 | if [ "$ACTION" = "install" ]; then 70 | rm -- "$0" 71 | fi 72 | 73 | # Codesign 74 | find "${CODESIGNING_FOLDER_PATH}/Frameworks" -name "*.framework" | while read -r FILENAME; do 75 | codesign --force --sign "${EXPANDED_CODE_SIGN_IDENTITY}" "$FILENAME" 76 | if [ $? != 0 ]; then 77 | echo "error: Code signing failed." 78 | exit 1 79 | fi 80 | done 81 | 82 | IFS=$OLDIFS -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/CorePaymentCardResources.bundle/CorePaymentCardResources-Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/CorePaymentCardResources.bundle/CorePaymentCardResources-Info.plist -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/CorePaymentCardResources.bundle/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23D60 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleIdentifier 10 | com.cocoapods.CorePaymentCardResources 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | CorePaymentCardResources 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleSupportedPlatforms 22 | 23 | iPhoneSimulator 24 | 25 | CFBundleVersion 26 | 1 27 | DTCompiler 28 | com.apple.compilers.llvm.clang.1_0 29 | DTPlatformBuild 30 | 21C52 31 | DTPlatformName 32 | iphonesimulator 33 | DTPlatformVersion 34 | 17.2 35 | DTSDKBuild 36 | 21C52 37 | DTSDKName 38 | iphonesimulator17.2 39 | DTXcode 40 | 1510 41 | DTXcodeBuild 42 | 15C65 43 | MinimumOSVersion 44 | 14.0 45 | NSPrincipalClass 46 | 47 | UIDeviceFamily 48 | 49 | 1 50 | 2 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/CorePaymentCardResources.bundle/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/CorePaymentCardResources.bundle/en.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCard -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCardResources.bundle/CorePaymentCardResources-Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCardResources.bundle/CorePaymentCardResources-Info.plist -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCardResources.bundle/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCardResources.bundle/Info.plist -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCardResources.bundle/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCardResources.bundle/en.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Headers/CPCPaymentCard_Protected.h: -------------------------------------------------------------------------------- 1 | // 2 | // CPCPaymentCard_Protected.h 3 | // CorePaymentCard 4 | // 5 | // Created by Michael White on 1/8/13. 6 | // Copyright (c) 2013 Square, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @class CPCString; 13 | 14 | 15 | @interface CPCPaymentCard () 16 | 17 | @property (nonatomic, copy, readwrite) NSString *number; 18 | @property (nonatomic, copy, readwrite) CPCString *secureNumber; 19 | @property (nonatomic, copy, readwrite) NSString *numberLastFour; 20 | @property (nonatomic, assign, readwrite) CPCCardBrand brand; 21 | @property (nonatomic, assign, readwrite) CPCIssuingBank bank; 22 | @property (nonatomic, assign, readwrite) CPCPaymentCardReaderType readerType; 23 | @property (nonatomic, assign, readwrite) CPCPaymentCardEntryMethod entryMethod; 24 | @property (nonatomic, assign, readwrite) CPCPaymentCardCardholderVerificationMethod cardholderVerificationMethod; 25 | 26 | @property (nonatomic, assign, readwrite) BOOL hasValidTrack1; 27 | @property (nonatomic, assign, readwrite) BOOL hasValidTrack2; 28 | @property (nonatomic, assign, readwrite) BOOL hasValidTrack3; 29 | 30 | /** When YES, indicates that the card number may contain letters. Used for cases like alphanumeric gift cards */ 31 | @property (nonatomic, assign) BOOL allowsAlphanumericCardNumber; 32 | 33 | - (BOOL)setNameComponentsFromName:(NSString *)name; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Headers/CPCString.h: -------------------------------------------------------------------------------- 1 | // 2 | // CPCString.h 3 | // CorePaymentCard 4 | // 5 | // Created by Michael White on 1/29/13. 6 | // Copyright (c) 2013 Square, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface CPCString : NSString 13 | 14 | @property (nonatomic, assign, readonly) BOOL hasErasedContents; 15 | 16 | - (void)eraseContents; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Headers/CorePaymentCard-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "NSBundle+CPCAdditions.h" 14 | #import "NSString+CPCAdditions.h" 15 | #import "CorePaymentCard.h" 16 | #import "CorePaymentCardDefines.h" 17 | #import "CPCCardUtility.h" 18 | #import "CPCPaymentCard.h" 19 | #import "CPCPaymentCard_Protected.h" 20 | #import "CPCString.h" 21 | 22 | FOUNDATION_EXPORT double CorePaymentCardVersionNumber; 23 | FOUNDATION_EXPORT const unsigned char CorePaymentCardVersionString[]; 24 | 25 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Headers/CorePaymentCard.h: -------------------------------------------------------------------------------- 1 | // 2 | // CorePaymentCard.h 3 | // CorePaymentCard 4 | // 5 | // Created by Michael White on 1/8/13. 6 | // Copyright (c) 2013 Square, Inc. All rights reserved. 7 | // 8 | 9 | // Classes 10 | #import 11 | #import 12 | #import 13 | #import 14 | #import 15 | 16 | // Categories 17 | #import 18 | 19 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Headers/CorePaymentCardDefines.h: -------------------------------------------------------------------------------- 1 | // 2 | // CorePaymentCardDefines.h 3 | // CorePaymentCard 4 | // 5 | // Created by Matthias Plappert on 1/23/13. 6 | // Copyright (c) 2013 Square, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | typedef NS_ENUM(NSInteger, CPCCardBrandStyle) { 13 | CPCCardBrandStyleDefault = 0, 14 | CPCCardBrandStyleEtched, 15 | CPCCardBrandStyleDisabled, 16 | CPCCardBrandStyleBlack, 17 | CPCCardBrandStyleColorful, 18 | }; 19 | 20 | typedef NS_ENUM(NSInteger, CPCCardVerificationValueSide) { 21 | CPCCardVerificationValueSideBack = 0, 22 | CPCCardVerificationValueSideFront 23 | }; 24 | 25 | typedef NS_ENUM(NSInteger, CPCCardBrand) { 26 | CPCCardBrandVisa = 0x0, 27 | CPCCardBrandMasterCard = 0x1, 28 | CPCCardBrandDiscover = 0x2, 29 | CPCCardBrandAmericanExpress = 0x3, 30 | CPCCardBrandJCB = 0x4, 31 | CPCCardBrandUnknown = 0x5, 32 | CPCCardBrandDinersClub = 0x6, 33 | CPCCardBrandChinaUnionPay = 0x7, 34 | CPCCardBrandSquareGiftCard = 0x8, 35 | CPCCardBrandInterac = 0x9, 36 | CPCCardBrandEftpos = 0xA, 37 | CPCCardBrandSquareCapitalCard = 0xB, 38 | CPCCardBrandFelica = 0xC, 39 | CPCCardBrandEBT = 0xD, 40 | CPCCardBrandCount = 0xE 41 | }; 42 | 43 | typedef NS_ENUM(NSInteger, CPCIssuingBank) { 44 | CPCIssuingBankUnknown = 0x0, 45 | CPCIssuingBankAfterpay = 0x1, 46 | CPCIssuingBankCashApp = 0x2, 47 | CPCIssuingBankSquare = 0x3, 48 | }; 49 | 50 | typedef NS_ENUM(NSInteger, CPCFelicaCardBrand) { 51 | CPCFelicaCardBrandUnknown = 0, 52 | CPCFelicaCardBrandCommon, 53 | CPCFelicaCardBrandQUICPay, 54 | CPCFelicaCardBrandID, 55 | CPCFelicaCardBrandSuica, 56 | CPCFelicaCardBrandRakuten, 57 | CPCFelicaCardBrandWAON, 58 | CPCFelicaCardBrandNanaco, 59 | CPCFelicaCardBrandPiTaPa 60 | }; 61 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Headers/NSBundle+CPCAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSBundle+CPCAdditions.h 3 | // CorePaymentCard 4 | // 5 | // Created by Michael White on 1/8/13. 6 | // Copyright (c) 2013 Square, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface NSBundle (CPCAdditions) 13 | 14 | + (NSBundle *)corePaymentCardResourcesBundle; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Headers/NSString+CPCAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+CPCAdditions.h 3 | // CorePaymentCard 4 | // 5 | // Created by Michael White on 1/9/13. 6 | // Copyright (c) 2013 Square, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface NSString (CPCAdditions) 13 | 14 | - (NSString *)CPC_stringByRemovingNonNumericCharacters; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Info.plist -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module CorePaymentCard { 2 | umbrella header "CorePaymentCard-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/PrivateHeaders/CPCCardBrandDetection.h: -------------------------------------------------------------------------------- 1 | // 2 | // CPCCardBrandDetection.h 3 | // CorePaymentCard 4 | // 5 | // Created by Ken Wigginton on 4/10/15. 6 | // Copyright (c) 2015 Square, Inc. All rights reserved. 7 | // 8 | // This code is duplicated from riker's 9 | // It is tested extensively both there and in this library. 10 | // If you have any changes to make, please do so in both locations. 11 | // TODO(kenw): RI-8796 DRY up this logic into a tiny submodule. 12 | 13 | #pragma once 14 | 15 | #include 16 | #include 17 | 18 | #include "CorePaymentCardDefines.h" 19 | 20 | /// Returns Issuer ID code for a pan with minimum of first four digits non-redacted. 21 | CPCCardBrand cpc_payment_get_issuer_for_pan(uint8_t const *number); 22 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Frameworks/CorePaymentCard.framework/PrivateHeaders/CorePaymentCardDefines_Internal.h: -------------------------------------------------------------------------------- 1 | // 2 | // CorePaymentCardDefines_Internal.h 3 | // CorePaymentCard 4 | // 5 | // Created by Michael White 1/31/13. 6 | // Copyright (c) 2013 Square Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Headers/PKPaymentRequest+Square.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 3 | // 4 | // Your use of this software is subject to the Square Developer Terms of 5 | // Service (https://squareup.com/legal/developers). This copyright notice shall 6 | // be included in all copies or substantial portions of the software. 7 | // 8 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 11 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 12 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 13 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 14 | // THE SOFTWARE. 15 | // 16 | 17 | #import 18 | 19 | /** 20 | PKPaymentRequest additions for using Apple Pay with Square. 21 | */ 22 | @interface PKPaymentRequest (Square) 23 | 24 | /** 25 | Creates a PKPaymentRequest instance with Square-supported networks and merchant capabilities. 26 | 27 | @param merchantIdentifier Your merchant identifier. This must be one of the Merchant IDs associated with your Apple Developer account. 28 | @param countryCode The two-letter ISO 3166 country code for the country where the payment will be processed. E.g. "US". 29 | @param currencyCode The three-letter ISO 4217 currency code. E.g. "USD". 30 | */ 31 | + (nonnull PKPaymentRequest *)squarePaymentRequestWithMerchantIdentifier:(nonnull NSString *)merchantIdentifier 32 | countryCode:(nonnull NSString *)countryCode 33 | currencyCode:(nonnull NSString *)currencyCode NS_SWIFT_NAME(squarePaymentRequest(merchantIdentifier:countryCode:currencyCode:)); 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Headers/SQIPApplePayNonceRequest.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 3 | // 4 | // Your use of this software is subject to the Square Developer Terms of 5 | // Service (https://squareup.com/legal/developers). This copyright notice shall 6 | // be included in all copies or substantial portions of the software. 7 | // 8 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 11 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 12 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 13 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 14 | // THE SOFTWARE. 15 | // 16 | 17 | #import 18 | 19 | @class PKPayment; 20 | @class SQIPCardDetails; 21 | 22 | /** 23 | A completion handler that handles the result of an Apple Pay nonce request. 24 | @param cardDetails Contains details about the card, including the nonce. `nil` when the request fails. 25 | @param error An error with domain `SQIPApplePayNonceRequestErrorDomain` when the nonce request fails; otherwise, `nil`. 26 | 27 | @see `SQIPApplePayNonceRequestError` for possible error types. 28 | */ 29 | typedef void (^SQIPApplePayNonceRequestCompletionHandler)(SQIPCardDetails *_Nullable cardDetails, NSError *_Nullable error); 30 | 31 | 32 | /** 33 | Lets the application retrieve a card nonce using a PKPayment instance obtained from Apple Pay. 34 | */ 35 | @interface SQIPApplePayNonceRequest : NSObject 36 | 37 | /** 38 | Creates a new Apple Pay nonce request. 39 | 40 | @param payment The PKPayment that should be used to request a nonce. 41 | */ 42 | - (nonnull instancetype)initWithPayment:(nonnull PKPayment *)payment; 43 | 44 | /** 45 | Performs the request to retrieve a card nonce. 46 | 47 | @param completionHandler The completion handler to be called upon success or failure of the nonce request. 48 | */ 49 | - (void)performWithCompletionHandler:(nonnull SQIPApplePayNonceRequestCompletionHandler)completionHandler; 50 | 51 | /** 52 | :nodoc: 53 | `init` is unavailable. Use `-[SQIPApplePayNonceRequest initWithPayment:]` instead. 54 | */ 55 | - (nonnull instancetype)init NS_UNAVAILABLE; 56 | 57 | /** 58 | :nodoc: 59 | `new` is unavailable. Use `-[SQIPApplePayNonceRequest initWithPayment:]` instead. 60 | */ 61 | + (nonnull instancetype)new NS_UNAVAILABLE; 62 | 63 | @end 64 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Headers/SQIPApplePayNonceRequestError.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 3 | // 4 | // Your use of this software is subject to the Square Developer Terms of 5 | // Service (https://squareup.com/legal/developers). This copyright notice shall 6 | // be included in all copies or substantial portions of the software. 7 | // 8 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 11 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 12 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 13 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 14 | // THE SOFTWARE. 15 | // 16 | 17 | #import 18 | 19 | 20 | /** 21 | The domain for errors that occur when requesting a card nonce using Apple Pay. 22 | */ 23 | extern NSString *_Nonnull const SQIPApplePayNonceRequestErrorDomain; 24 | 25 | /** 26 | Possible error codes that can be returned as a result of attempting to create a card nonce. 27 | */ 28 | typedef NS_ERROR_ENUM(SQIPApplePayNonceRequestErrorDomain, SQIPApplePayNonceRequestError){ 29 | 30 | /** 31 | Square In-App Payments SDK could not connect to the network. 32 | */ 33 | SQIPApplePayNonceRequestErrorNoNetwork = 1, 34 | 35 | /** 36 | The version of the Square In-App Payments SDK used by this application is no longer supported. 37 | */ 38 | SQIPApplePayNonceRequestErrorUnsupportedSDKVersion, 39 | 40 | /** 41 | `SQIPApplePayNonceRequest` was used in an unexpected or unsupported way. 42 | See `userInfo[SQIPErrorDebugCodeKey]` and `userInfo[SQIPErrorDebugMessageKey]` for more information. 43 | */ 44 | SQIPApplePayNonceRequestErrorUsageError, 45 | }; 46 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Headers/SQIPCard.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 3 | // 4 | // Your use of this software is subject to the Square Developer Terms of 5 | // Service (https://squareup.com/legal/developers). This copyright notice shall 6 | // be included in all copies or substantial portions of the software. 7 | // 8 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 11 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 12 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 13 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 14 | // THE SOFTWARE. 15 | // 16 | 17 | #import 18 | 19 | #import 20 | #import 21 | #import 22 | 23 | /** 24 | Represents a payment card. 25 | */ 26 | @interface SQIPCard : NSObject 27 | 28 | /** 29 | The card brand (for example, Visa). 30 | */ 31 | @property (nonatomic, assign, readonly) SQIPCardBrand brand; 32 | 33 | /** 34 | The last 4 digits of the card number. 35 | */ 36 | @property (nonatomic, strong, readonly, nonnull) NSString *lastFourDigits; 37 | 38 | /** 39 | The expiration month of the card. Ranges between 1 and 12. 40 | */ 41 | @property (nonatomic, assign, readonly) NSUInteger expirationMonth; 42 | 43 | /** 44 | The 4-digit expiration year of the card. 45 | */ 46 | @property (nonatomic, assign, readonly) NSUInteger expirationYear; 47 | 48 | /** 49 | The billing postal code associated with the card, if available. 50 | */ 51 | @property (nonatomic, strong, readonly, nullable) NSString *postalCode; 52 | 53 | /** 54 | The type of card (for example, Credit or Debit) 55 | Note: This property is experimental and will always return `unknown` 56 | */ 57 | @property (nonatomic, assign, readonly) SQIPCardType type; 58 | 59 | /** 60 | The prepaid type of the credit card (for example, a Prepaid Gift Card) 61 | Note: This property is experimental and will always return `unknown` 62 | */ 63 | @property (nonatomic, assign, readonly) SQIPCardPrepaidType prepaidType; 64 | 65 | /** 66 | :nodoc: 67 | `init` is unavailable. 68 | */ 69 | - (nonnull instancetype)init NS_UNAVAILABLE; 70 | 71 | /** 72 | :nodoc: 73 | `new` is unavailable. 74 | */ 75 | + (nonnull instancetype) new NS_UNAVAILABLE; 76 | 77 | @end 78 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Headers/SQIPCardBrand.h: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 4 | // 5 | // Your use of this software is subject to the Square Developer Terms of 6 | // Service (https://squareup.com/legal/developers). This copyright notice shall 7 | // be included in all copies or substantial portions of the software. 8 | // 9 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 10 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 11 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 12 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 13 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 14 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 15 | // THE SOFTWARE. 16 | // 17 | 18 | #import 19 | 20 | /** Indicates a card's brand, such as Visa. */ 21 | typedef NS_CLOSED_ENUM(NSUInteger, SQIPCardBrand) { 22 | 23 | /** An unidentified brand */ 24 | SQIPCardBrandOtherBrand = 0, 25 | 26 | /** Visa */ 27 | SQIPCardBrandVisa, 28 | 29 | /** Mastercard */ 30 | SQIPCardBrandMastercard, 31 | 32 | /** American Express */ 33 | SQIPCardBrandAmericanExpress, 34 | 35 | /** Discover */ 36 | SQIPCardBrandDiscover, 37 | 38 | /** Diners Club International */ 39 | SQIPCardBrandDiscoverDiners, 40 | 41 | /** JCB */ 42 | SQIPCardBrandJCB, 43 | 44 | /** UnionPay International/China UnionPay */ 45 | SQIPCardBrandChinaUnionPay, 46 | 47 | /** Square Gift Card */ 48 | SQIPCardBrandSquareGiftCard 49 | }; 50 | 51 | /** 52 | Creates a SQIPCardBrand from a string. i.e. "VISA" -> SQIPCardBrandVisa. 53 | :nodoc: 54 | */ 55 | extern SQIPCardBrand SQIPCardBrandFromString(NSString *_Nonnull cardBrand) CF_SWIFT_NAME(SQIPCardBrand.init(_:)); 56 | 57 | /** 58 | Creates a string from an SQIPCardBrand. i.e. SQIPCardBrandVisa -> "VISA". 59 | :nodoc: 60 | */ 61 | extern NSString *_Nonnull NSStringFromSQIPCardBrand(SQIPCardBrand cardBrand) CF_SWIFT_NAME(getter:SQIPCardBrand.description(self:)); 62 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Headers/SQIPCardDetails.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 3 | // 4 | // Your use of this software is subject to the Square Developer Terms of 5 | // Service (https://squareup.com/legal/developers). This copyright notice shall 6 | // be included in all copies or substantial portions of the software. 7 | // 8 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 11 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 12 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 13 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 14 | // THE SOFTWARE. 15 | // 16 | 17 | #import 18 | 19 | @class SQIPCard; 20 | 21 | /** 22 | Represents the result of a successful operation to process card payment information. 23 | */ 24 | @interface SQIPCardDetails : NSObject 25 | 26 | /** 27 | A one-time-use payment token that is used with the Payments API to [charge the card](https://developer.squareup.com/reference/square/payments-api/create-payment) or the Customers API to [store the Card on File](https://developer.squareup.com/reference/square/customers-api/create-customer-card). 28 | */ 29 | @property (nonatomic, strong, readonly, nonnull) NSString *nonce; 30 | 31 | /** 32 | The payment card. 33 | */ 34 | @property (nonatomic, strong, readonly, nonnull) SQIPCard *card; 35 | 36 | /** 37 | :nodoc: 38 | `init` is unavailable. 39 | */ 40 | - (nonnull instancetype)init NS_UNAVAILABLE; 41 | 42 | /** 43 | :nodoc: 44 | `new` is unavailable. 45 | */ 46 | + (nonnull instancetype) new NS_UNAVAILABLE; 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Headers/SQIPCardPrepaidType.h: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 4 | // 5 | // Your use of this software is subject to the Square Developer Terms of 6 | // Service (https://squareup.com/legal/developers). This copyright notice shall 7 | // be included in all copies or substantial portions of the software. 8 | // 9 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 10 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 11 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 12 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 13 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 14 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 15 | // THE SOFTWARE. 16 | // 17 | 18 | 19 | #import 20 | 21 | /** 22 | Indicates if a card is prepaid. 23 | */ 24 | typedef NS_ENUM(NSUInteger, SQIPCardPrepaidType) { 25 | /** Unable to determine whether the card is prepaid or not. */ 26 | SQIPCardPrepaidTypeUnknown, 27 | 28 | /** Card that is not prepaid */ 29 | SQIPCardPrepaidTypeNotPrepaid, 30 | 31 | /** Prepaid card */ 32 | SQIPCardPrepaidTypePrepaid, 33 | }; 34 | 35 | /** 36 | Creates a SQIPCardPrepaidType from a string. i.e. "PREPAID" -> SQIPCardPrepaidTypePrepaid. 37 | :nodoc: 38 | */ 39 | extern SQIPCardPrepaidType SQIPCardPrepaidTypeFromString(NSString *_Nullable prepaidType) CF_SWIFT_NAME(SQIPCardPrepaidType.init(_:)); 40 | 41 | /** 42 | Creates a string from a SQIPCardPrepaidType. i.e. SQIPCardPrepaidTypePrepaid -> "PREPAID". 43 | :nodoc: 44 | */ 45 | extern NSString *_Nonnull NSStringFromSQIPCardPrepaidType(SQIPCardPrepaidType prepaidType) CF_SWIFT_NAME(getter:SQIPCardPrepaidType.description(self:)); 46 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Headers/SQIPCardType.h: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 4 | // 5 | // Your use of this software is subject to the Square Developer Terms of 6 | // Service (https://squareup.com/legal/developers). This copyright notice shall 7 | // be included in all copies or substantial portions of the software. 8 | // 9 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 10 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 11 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 12 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 13 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 14 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 15 | // THE SOFTWARE. 16 | // 17 | 18 | #import 19 | 20 | /** 21 | Indicates a card's type. Such as Credit 22 | */ 23 | typedef NS_ENUM(NSUInteger, SQIPCardType) { 24 | /** Unidentified type */ 25 | SQIPCardTypeUnknown, 26 | 27 | /** Credit Card */ 28 | SQIPCardTypeCredit, 29 | 30 | /** Debit Card */ 31 | SQIPCardTypeDebit, 32 | }; 33 | 34 | /** 35 | Creates a SQIPCardType from a string. i.e. "CREDIT" -> SQIPCardTypeCredit. 36 | :nodoc: 37 | */ 38 | extern SQIPCardType SQIPCardTypeFromString(NSString *_Nullable type) CF_SWIFT_NAME(SQIPCardType.init(_:)); 39 | 40 | /** 41 | Creates a string from an SQIPCardType. i.e. SQIPCardTypeCredit -> "CREDIT". 42 | :nodoc: 43 | */ 44 | extern NSString *_Nonnull NSStringFromSQIPCardType(SQIPCardType cardType) CF_SWIFT_NAME(getter:SQIPCardType.description(self:)); 45 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Headers/SQIPErrorConstants.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 3 | // 4 | // Your use of this software is subject to the Square Developer Terms of 5 | // Service (https://squareup.com/legal/developers). This copyright notice shall 6 | // be included in all copies or substantial portions of the software. 7 | // 8 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 11 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 12 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 13 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 14 | // THE SOFTWARE. 15 | // 16 | 17 | #import 18 | 19 | /** 20 | The `NSError` `userInfo` key used to retrieve a detailed debug code string for the error that occurred. 21 | */ 22 | extern NSString *_Nonnull const SQIPErrorDebugCodeKey; 23 | 24 | /** 25 | The `NSError` `userInfo` key used to retrieve a human-readable message containing additional debug information related to the possible cause of the error. 26 | Debug messages should not be displayed to customers. 27 | */ 28 | extern NSString *_Nonnull const SQIPErrorDebugMessageKey; 29 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Headers/SQIPInAppPaymentsSDK.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 3 | // 4 | // Your use of this software is subject to the Square Developer Terms of 5 | // Service (https://squareup.com/legal/developers). This copyright notice shall 6 | // be included in all copies or substantial portions of the software. 7 | // 8 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 11 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 12 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 13 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 14 | // THE SOFTWARE. 15 | // 16 | 17 | #import 18 | 19 | /** 20 | Manages configuration of the Square In-App Payments SDK. 21 | */ 22 | @interface SQIPInAppPaymentsSDK : NSObject 23 | 24 | /** 25 | The Square application ID used to obtain a card nonce. 26 | @warning You must set a Square application ID before attempting any other SDK operation, or your app will crash. 27 | */ 28 | @property (class, nonatomic, strong, nullable) NSString *squareApplicationID; 29 | 30 | /** 31 | `true` if the device supports Apple Pay and the customer's wallet contains a card supported by Square; `false` otherwise. 32 | */ 33 | @property (class, nonatomic, readonly) BOOL canUseApplePay; 34 | 35 | /** 36 | :nodoc: 37 | `init` is unavailable. 38 | */ 39 | - (nonnull instancetype)init NS_UNAVAILABLE; 40 | 41 | /** 42 | :nodoc: 43 | `new` is unavailable. 44 | */ 45 | + (nonnull instancetype)new NS_UNAVAILABLE; 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Headers/SQIPSecureRemoteCommerce.h: -------------------------------------------------------------------------------- 1 | // 2 | // SQIPSecureRemoteCommerce.h 3 | // SquareInAppPaymentsSDK 4 | // 5 | // Created by Tyten Teegarden on 12/9/20. 6 | // Copyright © 2020 Square, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "SQIPCardDetails.h" 11 | #import "SQIPSecureRemoteCommerceParameters.h" 12 | #import 13 | 14 | /** 15 | This class starts and handles a Secure Remote Commerce transaction. 16 | 17 | @discussion A strong reference to the object must be maintained. 18 | */ 19 | @interface SQIPSecureRemoteCommerce : NSObject 20 | typedef void (^SQIPSecureRemoteCommerceCompletionHandler)(SQIPCardDetails *_Nullable cardDetails, NSError *_Nullable error); 21 | 22 | /** 23 | Starts the Secure Remote Commerce transaction. Calling this method will modally present the dialogs over the designated view controller. 24 | 25 | @discussion If the request completes successfully the completion handler will pass in card details and no error. If there is an error, the error will be passed without card details. If the action is cancelled both the details and the error will be `nil`. 26 | 27 | @param presentingViewController The view controller over whose view the dialogs willappear. 28 | @param secureRemoteCommerceParameters The necessary parameters for conducting a Secure Remote Commerce Transaction. Currently just the amount in USD. 29 | @param completionHandler The completion handler to be called upon success or failure of the nonce request. 30 | */ 31 | - (void)createPaymentRequest:(nonnull UIViewController *)presentingViewController 32 | secureRemoteCommerceParameters:(SQIPSecureRemoteCommerceParameters)secureRemoteCommerceParameters 33 | completionHandler:(nonnull SQIPSecureRemoteCommerceCompletionHandler)completionHandler; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Headers/SQIPSecureRemoteCommerceParameters.h: -------------------------------------------------------------------------------- 1 | // 2 | // SQIPSecureRemoteCommerceParameters.h 3 | // SquareInAppPaymentsSDK 4 | // 5 | // Created by Tyten Teegarden on 12/18/20. 6 | // Copyright © 2020 Square, Inc. All rights reserved. 7 | // 8 | 9 | /// :nodoc: 10 | typedef struct { 11 | NSInteger amount; 12 | } SQIPSecureRemoteCommerceParameters; 13 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Headers/SQIPTheme.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2019-present, Square, Inc. All rights reserved. 3 | // 4 | // Your use of this software is subject to the Square Developer Terms of 5 | // Service (https://squareup.com/legal/developers). This copyright notice shall 6 | // be included in all copies or substantial portions of the software. 7 | // 8 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 9 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 10 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 11 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 12 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 13 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 14 | // THE SOFTWARE. 15 | // 16 | 17 | #import 18 | 19 | /** 20 | Encapsulates options used to style SQIPCardEntryViewController. 21 | */ 22 | @interface SQIPTheme : NSObject 23 | 24 | /** 25 | The font used for text fields and informational messages. 26 | */ 27 | @property (nonatomic, strong, nonnull) UIFont *font; 28 | 29 | /** 30 | The background color of the card entry view controller. 31 | */ 32 | @property (nonatomic, strong, nonnull) UIColor *backgroundColor; 33 | 34 | /** 35 | The fill color for text fields. 36 | */ 37 | @property (nonatomic, strong, nonnull) UIColor *foregroundColor; 38 | 39 | /** 40 | The text field text color. 41 | */ 42 | @property (nonatomic, strong, nonnull) UIColor *textColor; 43 | 44 | /** 45 | The text field placeholder text color. 46 | */ 47 | @property (nonatomic, strong, nonnull) UIColor *placeholderTextColor; 48 | 49 | /** 50 | The tint color reflected in: 51 | * the text field cursor 52 | * the save button background color when enabled 53 | * the loading indicator 54 | */ 55 | @property (nonatomic, strong, nonnull) UIColor *tintColor; 56 | 57 | /** 58 | The text color used to display informational messages (e.g. "Enter the three digit CVV number"). 59 | */ 60 | @property (nonatomic, strong, nonnull) UIColor *messageColor; 61 | 62 | /** 63 | The text color used to display errors. 64 | */ 65 | @property (nonatomic, strong, nonnull) UIColor *errorColor; 66 | 67 | /** 68 | The title of the save button. 69 | 70 | */ 71 | @property (nonatomic, strong, nonnull) NSString *saveButtonTitle; 72 | 73 | /** 74 | The save button font. 75 | */ 76 | @property (nonatomic, strong, nonnull) UIFont *saveButtonFont; 77 | 78 | /** 79 | The text color of the save button when enabled. 80 | */ 81 | @property (nonatomic, strong, nonnull) UIColor *saveButtonTextColor; 82 | 83 | /** 84 | The keyboard appearance. 85 | */ 86 | @property (nonatomic) UIKeyboardAppearance keyboardAppearance; 87 | 88 | /** 89 | Sets an optional custom cancel button used to dismiss the view controller. 90 | This property is nil by default, indicating that the default cancel button should be used. 91 | */ 92 | 93 | @property (nonatomic, strong, nullable) UIBarButtonItem *cancelButton; 94 | 95 | @end 96 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Headers/SquareInAppPaymentsSDK-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | # import 3 | # if __has_include() 4 | # import 5 | # endif 6 | #else 7 | # ifndef FOUNDATION_EXPORT 8 | # if defined(__cplusplus) 9 | # define FOUNDATION_EXPORT extern "C" 10 | # else 11 | # define FOUNDATION_EXPORT extern 12 | # endif 13 | # endif 14 | #endif 15 | 16 | #import "PKPaymentRequest+Square.h" 17 | #import "SQIPApplePayNonceRequest.h" 18 | #import "SQIPApplePayNonceRequestError.h" 19 | #import "SQIPCard.h" 20 | #import "SQIPCardBrand.h" 21 | #import "SQIPCardDetails.h" 22 | #import "SQIPCardEntryViewController.h" 23 | #import "SQIPCardPrepaidType.h" 24 | #import "SQIPCardType.h" 25 | #import "SQIPErrorConstants.h" 26 | #import "SQIPInAppPaymentsSDK.h" 27 | #import "SQIPSecureRemoteCommerce.h" 28 | #import "SQIPSecureRemoteCommerceParameters.h" 29 | #import "SQIPTheme.h" 30 | 31 | FOUNDATION_EXPORT double SquareInAppPaymentsSDKVersionNumber; 32 | FOUNDATION_EXPORT const unsigned char SquareInAppPaymentsSDKVersionString[]; 33 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Info.plist -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module SquareInAppPaymentsSDK { 2 | umbrella header "SquareInAppPaymentsSDK-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/Assets.car: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/Assets.car -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/Base.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/Base.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23D60 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleIdentifier 10 | com.cocoapods.SQIPAssetFinderResources 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | SQIPAssetFinderResources 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleSupportedPlatforms 22 | 23 | iPhoneSimulator 24 | 25 | CFBundleVersion 26 | 1 27 | DTCompiler 28 | com.apple.compilers.llvm.clang.1_0 29 | DTPlatformBuild 30 | 21C52 31 | DTPlatformName 32 | iphonesimulator 33 | DTPlatformVersion 34 | 17.2 35 | DTSDKBuild 36 | 21C52 37 | DTSDKName 38 | iphonesimulator17.2 39 | DTXcode 40 | 1510 41 | DTXcodeBuild 42 | 15C65 43 | MinimumOSVersion 44 | 15.0 45 | NSPrincipalClass 46 | 47 | UIDeviceFamily 48 | 49 | 1 50 | 2 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/ca-ES.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/ca-ES.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en-AU.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en-AU.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en-CA.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en-CA.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en-GB.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en-GB.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en-IE.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en-IE.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/en.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/es-ES.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/es-ES.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/es.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/es.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/fr-CA.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/fr-CA.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/fr.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/fr.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/ja.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPAssetFinderResources.bundle/ja.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/Assets.car: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/Assets.car -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23D60 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleIdentifier 10 | com.cocoapods.SQIPCardEntryViewResources 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | SQIPCardEntryViewResources 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleSupportedPlatforms 22 | 23 | iPhoneSimulator 24 | 25 | CFBundleVersion 26 | 1 27 | DTCompiler 28 | com.apple.compilers.llvm.clang.1_0 29 | DTPlatformBuild 30 | 21C52 31 | DTPlatformName 32 | iphonesimulator 33 | DTPlatformVersion 34 | 17.2 35 | DTSDKBuild 36 | 21C52 37 | DTSDKName 38 | iphonesimulator17.2 39 | DTXcode 40 | 1510 41 | DTXcodeBuild 42 | 15C65 43 | MinimumOSVersion 44 | 15.0 45 | NSPrincipalClass 46 | 47 | UIDeviceFamily 48 | 49 | 1 50 | 2 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/ca-ES.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/ca-ES.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en-AU.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en-AU.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en-CA.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en-CA.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en-GB.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en-GB.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en-IE.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en-IE.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/en.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/es-ES.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/es-ES.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/es.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/es.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/fr-CA.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/fr-CA.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/fr.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/fr.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/ja.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPCardEntryViewResources.bundle/ja.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23D60 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleIdentifier 10 | com.cocoapods.SQIPNetworkingResources 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | SQIPNetworkingResources 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleSupportedPlatforms 22 | 23 | iPhoneSimulator 24 | 25 | CFBundleVersion 26 | 1 27 | DTCompiler 28 | com.apple.compilers.llvm.clang.1_0 29 | DTPlatformBuild 30 | 21C52 31 | DTPlatformName 32 | iphonesimulator 33 | DTPlatformVersion 34 | 17.2 35 | DTSDKBuild 36 | 21C52 37 | DTSDKName 38 | iphonesimulator17.2 39 | DTXcode 40 | 1510 41 | DTXcodeBuild 42 | 15C65 43 | MinimumOSVersion 44 | 15.0 45 | NSPrincipalClass 46 | 47 | UIDeviceFamily 48 | 49 | 1 50 | 2 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/ca-ES.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/ca-ES.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en-AU.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en-AU.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en-CA.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en-CA.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en-GB.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en-GB.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en-IE.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en-IE.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/en.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/es-ES.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/es-ES.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/es.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/es.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/fr-CA.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/fr-CA.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/fr.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/fr.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/ja.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/ja.lproj/Localizable.strings -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/trustedcerts.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SQIPNetworkingResources.bundle/trustedcerts.plist -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SquareInAppPaymentsSDK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/in-app-payments-ios-quickstart/4f217e47b47403ff91c5620c9d33cd4bd3c5f39e/Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/SquareInAppPaymentsSDK -------------------------------------------------------------------------------- /Pods/SquareInAppPaymentsSDK/XCFrameworks/SquareInAppPaymentsSDK.xcframework/ios-arm64_x86_64-simulator/SquareInAppPaymentsSDK.framework/setup: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -ex 4 | 5 | # Don't choke if projects or targets have spaces in the name 6 | OLDIFS=$IFS 7 | IFS=$(echo "") 8 | 9 | IAP_SDK_FRAMEWORKS=("SquareInAppPaymentsSDK" "SquareBuyerVerificationSDK") 10 | MAIN_FRAMEWORKS_DIR="$BUILT_PRODUCTS_DIR/$FRAMEWORKS_FOLDER_PATH" 11 | 12 | # Unpack frameworks 13 | for FRAMEWORK_NAME in "${IAP_SDK_FRAMEWORKS[@]}"; do 14 | FRAMEWORK_PATH="$FRAMEWORK_NAME.framework/Frameworks" 15 | MAIN_NESTED_FRAMEWORKS_DIR="$MAIN_FRAMEWORKS_DIR/$FRAMEWORK_PATH" 16 | 17 | if [ -d "$MAIN_NESTED_FRAMEWORKS_DIR" ]; then 18 | # Handle all nested frameworks that are fat frameworks 19 | find "$MAIN_NESTED_FRAMEWORKS_DIR" -name '*.framework' ! -path '*.xcframework/*' -type d | while read -r FRAMEWORK; do 20 | rm -rf "$MAIN_FRAMEWORKS_DIR/$(basename "$FRAMEWORK")/" 21 | mv -f "$FRAMEWORK/" "$MAIN_FRAMEWORKS_DIR" 22 | done 23 | 24 | # Handle all nested frameworks that are xcframeworks 25 | find "$MAIN_NESTED_FRAMEWORKS_DIR" -name '*.xcframework' -type d | while read -r XCFRAMEWORK; do 26 | 27 | # $SDK_NAMES is an environment variable set by the xcodebuild process 28 | # Possible values can be seen by running `xcodebuild -showsdks` 29 | for SDK in $SDK_NAMES; do 30 | 31 | # Only allow iphoneos and iphonesimulator SDKs 32 | if ! [[ $SDK =~ .*iphone.* ]]; then 33 | echo "Unable to setup $(basename "$XCFRAMEWORK"). Only building against iOS SDKs is supported at the moment." 34 | exit 1 35 | fi 36 | 37 | FIND_COMMAND="find '$XCFRAMEWORK' -name '*.framework' -type d" 38 | if [[ $SDK =~ .*simulator.* ]]; then 39 | FIND_COMMAND="$FIND_COMMAND -path '*-simulator/*'" 40 | else 41 | FIND_COMMAND="$FIND_COMMAND ! -path '*-simulator/*'" 42 | fi 43 | 44 | eval "$FIND_COMMAND" | while read -r ARCH_FRAMEWORK; do 45 | rm -rf "$MAIN_FRAMEWORKS_DIR/$(basename "$ARCH_FRAMEWORK")/" 46 | mv -f "$ARCH_FRAMEWORK/" "$MAIN_FRAMEWORKS_DIR" 47 | rm -rf "$(dirname "$ARCH_FRAMEWORK")" 48 | done 49 | done 50 | 51 | # Cleanup unused SDK slices of xcframework 52 | rm -rf "$XCFRAMEWORK" 53 | done 54 | 55 | # If the nested framework directory does not contain any further framework binaries then clean it up 56 | if [ -z "$(find "$MAIN_NESTED_FRAMEWORKS_DIR" -name "*.framework" -type d)" ]; then 57 | rm -rf "$MAIN_NESTED_FRAMEWORKS_DIR" 58 | fi 59 | fi 60 | done 61 | 62 | IFS=$OLDIFS 63 | 64 | # Don't choke if projects or targets have spaces in the name 65 | OLDIFS=$IFS 66 | IFS=$(echo "") 67 | 68 | # Delete this script if archiving 69 | if [ "$ACTION" = "install" ]; then 70 | rm -- "$0" 71 | fi 72 | 73 | # Codesign 74 | find "${CODESIGNING_FOLDER_PATH}/Frameworks" -name "*.framework" | while read -r FILENAME; do 75 | codesign --force --sign "${EXPANDED_CODE_SIGN_IDENTITY}" "$FILENAME" 76 | if [ $? != 0 ]; then 77 | echo "error: Code signing failed." 78 | exit 1 79 | fi 80 | done 81 | 82 | IFS=$OLDIFS -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-InAppPaymentsSample/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-InAppPaymentsSample/Pods-InAppPaymentsSample-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-InAppPaymentsSample/Pods-InAppPaymentsSample-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## SquareInAppPaymentsSDK 5 | 6 | Copyright (c) 2018-present, Square, Inc. All rights reserved. 7 | 8 | Your use of this software is subject to the Square Developer Terms of 9 | Service (https://squareup.com/legal/developers). This copyright notice shall 10 | be included in all copies or substantial portions of the software. 11 | 12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 13 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 14 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 15 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 16 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 17 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 18 | THE SOFTWARE. 19 | 20 | Generated by CocoaPods - https://cocoapods.org 21 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-InAppPaymentsSample/Pods-InAppPaymentsSample-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2018-present, Square, Inc. All rights reserved. 18 | 19 | Your use of this software is subject to the Square Developer Terms of 20 | Service (https://squareup.com/legal/developers). This copyright notice shall 21 | be included in all copies or substantial portions of the software. 22 | 23 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 24 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 25 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 26 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 27 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 28 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 29 | THE SOFTWARE. 30 | 31 | License 32 | Square Developer License 33 | Title 34 | SquareInAppPaymentsSDK 35 | Type 36 | PSGroupSpecifier 37 | 38 | 39 | FooterText 40 | Generated by CocoaPods - https://cocoapods.org 41 | Title 42 | 43 | Type 44 | PSGroupSpecifier 45 | 46 | 47 | StringsTable 48 | Acknowledgements 49 | Title 50 | Acknowledgements 51 | 52 | 53 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-InAppPaymentsSample/Pods-InAppPaymentsSample-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_InAppPaymentsSample : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_InAppPaymentsSample 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-InAppPaymentsSample/Pods-InAppPaymentsSample-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_InAppPaymentsSampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_InAppPaymentsSampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-InAppPaymentsSample/Pods-InAppPaymentsSample.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/SquareInAppPaymentsSDK/XCFrameworks" "${PODS_XCFRAMEWORKS_BUILD_DIR}/SquareInAppPaymentsSDK" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_LDFLAGS = $(inherited) -framework "SquareInAppPaymentsSDK" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-InAppPaymentsSample/Pods-InAppPaymentsSample.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_InAppPaymentsSample { 2 | umbrella header "Pods-InAppPaymentsSample-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-InAppPaymentsSample/Pods-InAppPaymentsSample.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/SquareInAppPaymentsSDK/XCFrameworks" "${PODS_XCFRAMEWORKS_BUILD_DIR}/SquareInAppPaymentsSDK" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_LDFLAGS = $(inherited) -framework "SquareInAppPaymentsSDK" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SquareInAppPaymentsSDK/SquareInAppPaymentsSDK.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SquareInAppPaymentsSDK 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/SquareInAppPaymentsSDK/XCFrameworks" "${PODS_XCFRAMEWORKS_BUILD_DIR}/SquareInAppPaymentsSDK" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 8 | PODS_ROOT = ${SRCROOT} 9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/SquareInAppPaymentsSDK 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 12 | SKIP_INSTALL = YES 13 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 14 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SquareInAppPaymentsSDK/SquareInAppPaymentsSDK.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SquareInAppPaymentsSDK 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/SquareInAppPaymentsSDK/XCFrameworks" "${PODS_XCFRAMEWORKS_BUILD_DIR}/SquareInAppPaymentsSDK" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 8 | PODS_ROOT = ${SRCROOT} 9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/SquareInAppPaymentsSDK 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 12 | SKIP_INSTALL = YES 13 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 14 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SquareInAppPaymentsSDK/SquareInAppPaymentsSDK.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SquareInAppPaymentsSDK 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/SquareInAppPaymentsSDK" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/SquareInAppPaymentsSDK 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # In-App Payments Quick Start Sample iOS Application 2 | 3 | Follow the [In-App Payments Quick Start Guide](https://docs.connect.squareup.com/payments/in-app-payments-sdk/quickstart/start) to take payments in an app running on a buyer's personal mobile device. 4 | 5 | ## License 6 | 7 | Copyright 2018 Square, Inc. 8 | 9 | Licensed under the Apache License, Version 2.0 (the "License"); 10 | you may not use this file except in compliance with the License. 11 | You may obtain a copy of the License at 12 | 13 | http://www.apache.org/licenses/LICENSE-2.0 14 | 15 | Unless required by applicable law or agreed to in writing, software 16 | distributed under the License is distributed on an "AS IS" BASIS, 17 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | See the License for the specific language governing permissions and 19 | limitations under the License. 20 | 21 | ## Feedback 22 | Rate this sample app [here](https://delighted.com/t/Z1xmKSqy)! 23 | --------------------------------------------------------------------------------