Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 574 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 574 Bytes

ember-cli-stripejs

The simplest way to load and configure Stripe JS in your ember-cli application.

Installation

npm install --save-dev ember-cli-stripejs

Configuration

Add your Stripe public key to your app config. Obviously, don't add your secret key.

// config/environment.js
ENV.stripe = {
  key: "pk_test_C0sa3IlkLWBlrB8laH2fbqfh"
};

Usage

Use Stripe JS has you normally would.

For more information on using ember-cli, visit http://www.ember-cli.com/.