Introduction
Last updated
Last updated
Ngx Stripe
is a thin wrapper around Stripe Elements. It allows adding Elements to any Angular app.
The Stripe.js reference covers complete Elements customization details.
You can use Elements with any Stripe product to collect online payments. To find the right integration path for your business, explore Stripe Docs.
The library provides three major elements:
Lazy script loading
Element Components
Stripe Observable wrapper
This project has not been updated for a while. After reviewing the state of the art for React and Vue counterparts, some major changes are going to be introduced to align this project with Stripe Elements
.
ngx-stripe
will no longer maintain its own interfaces. Instead, @stripe/stripe-js
has been added as peer dependency. This will make the library easier to maintain and avoid mistakes.
Stripe Service
has been updated with all the missing APIs from StripeJS.
All the missing Element Components
like IBAN, Ideal, FPX, ... have been added.
Request Payment Button
now has full support.
Added Container Style
functionality support.
A Migration
guide has been added with details of what have changed.
The new version of library is compatible from Angular 6+ major versions. Check the Installation
section see how to install an older version.
All documentation has been moved to this new site.
Finally, in order to ease the transition, we are naming the old version of the library legacy
and we have created some npm tags
to make it easy to install older versions. Check Installation
to say a complete list of available versions.