Skip to content

A simple app that shows how to use SwiftUI and Stripe API to accept payments

License

Notifications You must be signed in to change notification settings

Esquilli/Stripy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stripy

A simple app showing how to use SwiftUI and Stripe API to accept payments

Information
Platform iOS License MIT

Key Features

  • SwiftUI + Combine + MVVM
  • Stripe API
  • Glitch

Screenshot

App Screenshot

Getting Started

Prerequisites

  1. Xcode 12.2 or later
  2. Stripe API keys
  3. Host a checkout endpoint in Glitch or your own server.

Installation

  1. Clone or download the project to your local machine
  2. Open and replace <YOUR ENDPOINT BASE URL> with your own endpoint in Endpoint+Stripe.swift
extension Endpoint {
    struct Stripe: EndpointProtocol {
        ...
        components.host = "<YOUR ENDPOINT BASE URL>" // Example: odd-faithful-parsnip.glitch.me
        ...
    }
  1. Run the simulator

Notes

Apple Pay needs additional setup per this tutorial

Licence

Stripy is released under the MIT license. See LICENSE for details.

About

A simple app that shows how to use SwiftUI and Stripe API to accept payments

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages