Custom Element Wrapper for Stripe.js v3 Elements
π‘βοΈπ° Any Framework - One Stripe Integration. π°π΅πΈ
π¨βπ¨ Live Demo π
You should make sure to load stripe.js on your app's index.html, as per Stripe's recommendation, before loading <stripe-elements>
. If window.Stripe
is not available when you load up the component, it will fail with a reasonably-polite console warning.
<script src="https://js.stripe.com/v3/"></script>
npm i -S @power-elements/stripe-elements
<stripe-elements>
is a community project.
Learn how to use Stripe Elements web components in the docs