包详细信息

ember-cli-stripejs

layervault10MIT0.1.0

The simplest of ember-cli addons to load and configure StripeJS

ember-addon, stripe, stripejs

自述文件

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/.