@morbidick/stripe-elements

4.0.2 • Public • Published

Stripe Web Components

npm version Published on webcomponents.org Build Status Greenkeeper badge

Simple component talking directly with the Stripe token backend. It doesnt use stripe.js so it doesnt have the same ShadowDOM restrictions. The form is build with paper-elements to fit the Material UI.

Installation

npm i @morbidick/stripe-elements

Components

<stripe-card>

<stripe-card
  publishable-key="pk_your_key"
  token="{{ token }}"
></stripe-card>

Styling

You can use the paper-style variables to change the look and feel of the form.

Development

# Get dependencies
$ npm install

# Demo site
$ npm start

# Run tests
$ npm test

Readme

Keywords

none

Package Sidebar

Install

npm i @morbidick/stripe-elements

Weekly Downloads

0

Version

4.0.2

License

MIT

Unpacked Size

14.2 kB

Total Files

8

Last publish

Collaborators

  • morbidick