Swiftpack.co - Package - PerfectlySoft/Perfect-Stripe

Perfect Stripe API

Get Involed with Perfect!

Star Perfect On Github Stack Overflow Follow Perfect on Twitter Join the Perfect Slack

Swift 4.0 Platforms OS X | Linux License Apache PerfectlySoft Twitter Slack Status

Perfect Stripe API

Note: This is a work in progress and will grow to 100% API coverage over time. Your pull requests will help this!

This API will connect your Server Side Swift application with the Stripe payment gateway.

Compatibility with Swift

The master branch of this project currently compiles with Xcode 9.3 or the Swift 4.1 toolchain on macOS and Ubuntu.

Version 4 of Perfect-Stripe is not a drop-in update from version 3. It is a significant refactor to leverage Swift 4's Codable features.

Usage

Import the module by including in your Package.swift file.

.Package(
	url: "https://github.com/PerfectlySoft/Perfect-Stripe.git",
	majorVersion: 4
	)

Then use in your file by importing:

import PerfectStripe

Configuration

Obtain a Stripe API key, and set this for use:

Stripe.apiKey = "<your api key>"

Documentation

Usage documentation can be found at https://github.com/iamjono/Perfect-Stripe/wiki

Further Information

For more information on the Perfect project, please visit perfect.org.

Github

link
Stars: 9
Help us keep the lights on

Used By

Total:

Releases

3.0.0 - Jan 30, 2018