Square In-App Payments iOS SDK SwiftUI

Overview

Square In-App Payments iOS SDK SwiftUI

Build remarkable payments experiences in your SwiftUI app. This SDK is SwiftUI wrapper to the existing In-App-Payments-SDK and is packed with everything you need to intergrate payments in your app.

Information

While the project itself is stable it does rely on Squares In-App Payments SDK and updates to that SDK could break our implementaion so its on you to test your app fully before releasing to production.

Installation/Setup

Install Square InAppPaymentsSDK Frameworks

YOU MUST INSTALL THE FRAMWORKS FOR THIS PACKAGE TO WORK

  1. Download and unzip the latest SquareInAppPaymentsSDK.zip artifact from the Square In-App Payments Github repository release list.

  2. Add the SquareInAppPaymentsSDK and SquareBuyerVerificationSDK frameworks to your project:

    1. Open the General tab for your application target in Xcode.
    2. Drag SquareInAppPaymentsSDK.xcframework and SquareBuyerVerificationSDK.xcframework from the unzipped folder into the Embedded Binaries section.
    3. Choose Copy Items if Needed, and then choose Finish in the dialog box that appears.

Install Square InAppPaymentsSDK SwiftUI

Xcode 11 integrates with libSwiftPM to provide support for iOS platforms.

  1. The preferred way of installing is via the Swift Package Manager.
    1. In Xcode, open your project and navigate to FileAdd Packages
    2. Paste the repository URL (https://github.com/realashleybailey/in-app-payments-ios-swiftui) in the Search or Enter Package URL field
    3. For Rules, select Branch (with branch set to main).
    4. Click Add Package
    5. Click Add Package again when popup appears

Documentaition

Please visit https://realashleybailey.github.io/in-app-payments-ios-swiftui/ to read full documentation

You might also like...
A lightweight iOS library for In-App Purchases

#RMStore A lightweight iOS library for In-App Purchases. RMStore adds blocks and notifications to StoreKit, plus receipt verification, content downloa

A modern In-App Purchases management framework for iOS.

MerchantKit A modern In-App Purchases management framework for iOS developers. MerchantKit dramatically simplifies the work indie developers have to d

Handle in-app purchases in iOS in a convenient way

InAppPurchases Handle in-app purchases in iOS in a convenient way. Overview InAppPurchases covers all the basic aspects of in-app purchases in swift i

A jailed in-app purchase cracker for iOS 12.2-15.6

Satella Jailed For, um, educational purposes only or something. Definitely don't use this to pirate in-app purchases in apps to which you don't have l

TPInAppReceipt is a lightweight, pure-Swift library for reading and validating Apple In App Purchase Receipt locally.
TPInAppReceipt is a lightweight, pure-Swift library for reading and validating Apple In App Purchase Receipt locally.

TPInAppReceipt is a lightweight, pure-Swift library for reading and validating Apple In App Purchase Receipt locally. Features Read all

Ruby Gem for Rails - Easy iTunes In-App Purchase Receipt validation, including auto-renewable subscriptions
Ruby Gem for Rails - Easy iTunes In-App Purchase Receipt validation, including auto-renewable subscriptions

Monza is a ruby gem that makes In-App Purchase receipt and Auto-Renewable subscription validation easy. You should always validate receipts on the ser

OnTime - OnTime App is for Scheduling your day and prioritizing your task and also for saving notes
OnTime - OnTime App is for Scheduling your day and prioritizing your task and also for saving notes

OnTime OnTime App is for Scheduling your day and prioritizing your task and also

Implement donate to Ukraine inside your app, with Apple Pay
Implement donate to Ukraine inside your app, with Apple Pay

DonateToUkraine gives you a simple way to provide "donate to Ukraine" functionality in your app via an official donation service (endorsed here). The service will be opened inside the app, keeping a native feel. Apple Pay is supported.

Ios-card-transition - iOS CocoaPod to create beautiful card transitions
Ios-card-transition - iOS CocoaPod to create beautiful card transitions

CSCardTransition CSCardTransition is a small library allowing you to create wond

Comments
  • [ImgBot] Optimize images

    [ImgBot] Optimize images

    Beep boop. Your images are optimized!

    Your image file size has been reduced by 9% 🎉

    Details

    | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /Sources/SquareInAppPaymentsSwiftUI/Resources/Cards.xcassets/applePay.imageset/applepay.png | 179.42kb | 37.52kb | 79.09% | | /docs/images/SavedCardLog.png | 26.74kb | 13.65kb | 48.95% | | /Sources/SquareInAppPaymentsSwiftUI/Resources/Cards.xcassets/otherBrand.imageset/defaultCard.png | 6.58kb | 3.84kb | 41.61% | | /docs/images/CardPayLog.png | 146.35kb | 103.93kb | 28.99% | | /Sources/SquareInAppPaymentsSwiftUI/Resources/Cards.xcassets/discover.imageset/discover.jpg | 7.35kb | 6.29kb | 14.44% | | /Sources/SquareInAppPaymentsSwiftUI/Resources/Cards.xcassets/JCB.imageset/JCB.jpg | 4.24kb | 3.68kb | 13.33% | | /Sources/SquareInAppPaymentsSwiftUI/Resources/Cards.xcassets/mastercard.imageset/mastercard.jpg | 4.09kb | 3.63kb | 11.23% | | /Sources/SquareInAppPaymentsSwiftUI/Resources/Cards.xcassets/discoverDiners.imageset/discoverDiners.jpg | 5.19kb | 4.61kb | 11.08% | | /Sources/SquareInAppPaymentsSwiftUI/Resources/Cards.xcassets/visa.imageset/visa.jpg | 6.60kb | 5.88kb | 11.02% | | /Sources/SquareInAppPaymentsSwiftUI/Resources/Cards.xcassets/chinaUnionPay.imageset/chinaUnionPay.jpg | 4.02kb | 3.59kb | 10.72% | | /Sources/SquareInAppPaymentsSwiftUI/Resources/Cards.xcassets/americanExpress.imageset/americanExpress.jpg | 7.67kb | 6.86kb | 10.47% | | /docs/images/SavedCardSelectCard.gif | 1,302.39kb | 1,227.39kb | 5.76% | | /docs/images/CardPayMain.gif | 1,828.38kb | 1,785.26kb | 2.36% | | /Sources/SquareInAppPaymentsSwiftUI/Resources/Cards.xcassets/squareGiftCard.imageset/squareGiftCard.jpg | 12.57kb | 12.30kb | 2.15% | | | | | | | Total : | 3,541.61kb | 3,218.44kb | 9.12% |


    📝 docs | :octocat: repo | 🙋🏾 issues | 🏪 marketplace

    ~Imgbot - Part of Optimole family

    opened by imgbot[bot] 0
  • M1 Mac SwiftUI Preview Error

    M1 Mac SwiftUI Preview Error

    Hi there,

    When trying to use SwiftUI preview and when trying to run on iOS Simulator with SquareInAppPaymentsSwiftUI package installed, the following error occurs:

    building for iOS Simulator-arm64 but attempting to link with file built for iOS Simulator-x86_64

    Attempting to run on a 2020 M1 MacBook Pro with Xcode 13.2.1

    I am able to run / test on a physical device though, so using that as a workaround for now.

    opened by jayczech23 0
Owner
Ashley Bailey
Ashley Bailey
Make and accept payments in your iOS app via Venmo

Venmo iOS SDK The Venmo iOS SDK lets you make and accept payments in your app using Venmo. Installation If you're using CocoaPods: If you don't have a

Venmo 168 Sep 29, 2022
iOS SDK for cross-platform in-app purchase and subscription infrastructure, revenue analytics, engagement automation, and integrations

Qonversion is the data platform to power in-app subscription revenue growth. fast in-app subscriptions implementation back-end infrastructure to valid

Qonversion 248 Nov 8, 2022
SwiftUI BusinessCard - Created iOS Business card app to practice SwiftUI

SwiftUI_BusinessCard Created iOS Business card app to practice SwiftUI

null 0 Jan 29, 2022
With SwiftUI payment share app

Splitpayment With SwiftUI payment share app.

Ahmet Onur Şahin 3 Apr 18, 2022
Тестовый проект на SwiftUI с использованием Conbain

PaymentsList Test SwiftUI/Conbain Задача: Сделать приложение с возможностью авторизации пользователя и вывода списка его платежей после успешной автор

Oleg Bondar 1 Oct 26, 2021
A study card application built with SwiftUI and Combine

StudyCards Description A study card application. I built this application to get

Matt Manion 2 Sep 26, 2022
In-app purchases and subscriptions made easy. Support for iOS, iPadOS, watchOS, and Mac.

In-app purchases and subscriptions made easy. Support for iOS, iPadOS, watchOS, and Mac.

RevenueCat 1.6k Nov 25, 2022
Lightweight In App Purchases Swift framework for iOS 8.0+, tvOS 9.0+ and macOS 10.10+ ⛺

SwiftyStoreKit is a lightweight In App Purchases framework for iOS, tvOS, watchOS, macOS, and Mac Catalyst. Features Super easy-to-use block-based API

Andrea Bizzotto 6.1k Nov 15, 2022
In App Purchase Manager framework for iOS

InAppFramework In App Purchase Manager framework for iOS Disclaimer I know it's been too long since the last update, quite a few things happened in my

Sándor Gyulai 40 May 23, 2020
Accept credit cards and PayPal in your iOS app

Important: PayPal Mobile SDKs are Deprecated. The APIs powering them will remain operational long enough for merchants to migrate, but the SDKs themse

PayPal 972 Nov 4, 2022