/stripe-elements

Polymer 2 Stripe Elements

Primary LanguageHTML

Polymer 2 Stripe Elements

Published on webcomponents.org Build Status

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.

Components

<stripe-card>

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

Development

# Get dependencies
$ npm install

# Demo site
$ npm start

# Run tests
$ npm test