All Projects → ZeeZide → FSCheckoutSheet

ZeeZide / FSCheckoutSheet

Licence: MIT license
A WKWebView wrapper that handles interaction w/ a FastSpring checkout form

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to FSCheckoutSheet

keyv
Simple key-value storage with support for multiple backends.
Stars: ✭ 202 (+1022.22%)
Mutual labels:  store
sales-management-system
Sales management system
Stars: ✭ 25 (+38.89%)
Mutual labels:  store
shop-store-client
网上书店商城-前端
Stars: ✭ 41 (+127.78%)
Mutual labels:  store
E-commerceRetailerFYP
Android E-commerce Platform. Allow retailer to post product, manage order, chat and view report
Stars: ✭ 31 (+72.22%)
Mutual labels:  store
checkout-demo
Sample code for demonstrating Xendit Checkout including creating invoice, redirection type, and type of integration through desktop or mobile view.
Stars: ✭ 17 (-5.56%)
Mutual labels:  store
react-context-global-store
A simple global store based on React context
Stars: ✭ 22 (+22.22%)
Mutual labels:  store
pinia
🍍 Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support
Stars: ✭ 9,952 (+55188.89%)
Mutual labels:  store
python-pytest-harvest
Store data created during your `pytest` tests execution, and retrieve it at the end of the session, e.g. for applicative benchmarking purposes.
Stars: ✭ 44 (+144.44%)
Mutual labels:  store
FoodDelivery
E-Commerce demo project. Food delivery application project made with.
Stars: ✭ 106 (+488.89%)
Mutual labels:  store
boutique
Immutable data storage
Stars: ✭ 44 (+144.44%)
Mutual labels:  store
Recon
HA LDAP based key/value solution for projects configuration storing with multi master replication support
Stars: ✭ 12 (-33.33%)
Mutual labels:  store
frontend-developer-coding-challenge
Are your looking for a remote developer job? Solve this frontend developer challenge and show us what you can do and what you are an expert at!
Stars: ✭ 112 (+522.22%)
Mutual labels:  store
mafuba
Simple state container for react apps.
Stars: ✭ 20 (+11.11%)
Mutual labels:  store
amazin
A MERN-stack app for eCommerce platform, Webshop, Web Store. Storybook: https://www.amazin.one/ Alternative: https://ntrix.github.io/amazin-story
Stars: ✭ 27 (+50%)
Mutual labels:  store
vue-reactive-store
A VueX alternative : declarative + reactive + centralized way to structure your data store. Inspired by VueX and Vue.js . Compatible with vue-devtools.
Stars: ✭ 27 (+50%)
Mutual labels:  store
svelte-dev-store
This project adds the ability to use Redux Dev tools to visualise a Svelte store. It uses redux under the hood and should only be used in a development environment.
Stars: ✭ 22 (+22.22%)
Mutual labels:  store
query-param-store
Angular Reactive Query Parameters Store
Stars: ✭ 15 (-16.67%)
Mutual labels:  store
deep-state-observer
State library for high performance applications.
Stars: ✭ 25 (+38.89%)
Mutual labels:  store
okito
Your best flutter coding friend. All in one; state management, navigation management(with dynamic routing), local storage, localization, dependency injection, cool extensions with best usages and with the support of best utilities!
Stars: ✭ 37 (+105.56%)
Mutual labels:  store
mobx-collection
Objects store for MobX
Stars: ✭ 14 (-22.22%)
Mutual labels:  store

FSCheckoutSheet

A WKWebView wrapper that handles interaction w/ a FastSpring checkout form. FastSpring is an online store provider, useful for selling digital products. For example Mac applications outside of Apple's Mac App Store.

This package is only dealing with the actual FastSpring checkout process, it doesn't provide any In-App store parts. To see it in a live app, download Shrugs.app.

Inspired by Make Money Outside the Mac App Store. This code doesn't require a "classic" FastSpring store, but uses the regular one. It uses the Store Builder Library to configure the checkout, and scans the result for licenses after a successful checkout.

Usage

The package provides a single NSViewController used for checkout: FastSpringCheckoutVC.

let vc = FastSpringCheckoutVC()
vc.checkoutProduct("soy-for-community-slacks",
                   in: "zeezide.onfastspring.com") {
    licenseKeys in

    for licenseKey in licenseKeys {
        print("User",   licenseKey.name,
              "bought", licenseKey.sku,
              "code:",  licenseKey.code)
    }
}

self.presentAsSheet(vc)

Note: Currently this is only reporting CocoaFob licenses.

Don't forget to enable client network connections if your hosting app is sandboxed! Otherwise you'll just see the spinner or a white background.

Import Package

The Package URL is: https://github.com/ZeeZide/FSCheckoutSheet.git, can be added to your Xcode project.

Demo Application

The Demo folder contains a demo application for the sheet. Configure your store (e.g. a test store) in the Configuration.swift file, to play with the panel. By default it is configured to access the live Shrugs.app store, so careful, what you buy is what you buy :-)

Looks like this:

Who

FSCheckoutSheet is brought to you by ZeeZide. We like feedback, GitHub stars, cool contract work, presumably any form of praise you can think of.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].