stripe-elements | Vaadin

Stripe Web Components

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

Install

Link to this version
ImportedReleased 04 June 2018MIT License
Framework Support
Polymer 2.0+
Browser Compatibility
Install with
bower install --save morbidick/stripe-elements"#2.5.0"
Run the above Bower command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 2.5.0

Dependencies

  • iron-form#PolymerElements/iron-form#^2.0.0
  • paper-button#PolymerElements/paper-button#^2.0.0
  • paper-input#PolymerElements/paper-input#^2.0.0
  • paper-styles#PolymerElements/paper-styles#^2.0.0
  • polymer#Polymer/polymer#^2.0.0