- SwiftUI + Combine + MVVM
- Stripe API
- Glitch
- Clone or download the project to your local machine
- Open and replace
<YOUR ENDPOINT BASE URL>
with your own endpoint inEndpoint+Stripe.swift
extension Endpoint {
struct Stripe: EndpointProtocol {
...
components.host = "<YOUR ENDPOINT BASE URL>" // Example: odd-faithful-parsnip.glitch.me
...
}
- Run the simulator
Apple Pay needs additional setup per this tutorial
Stripy is released under the MIT license. See LICENSE for details.