Pick your lane

ngx-stripe version = {angularMajor}.{stripeJsMajor}.{patch}. The middle digit is the @stripe/stripe-js major / named Stripe.js train (endive, dahlia, clover, basil, acacia, …), not a minor feature bump.

Use the Docs lane picker in the header to preview install commands and CDN notes for another Angular × Stripe combination. The live demos on this site always run on the latest line; older lanes open an in-repo StackBlitz playground.

Install for the selected lane

npm install ngx-stripe@latest @stripe/stripe-js@^10

CDN script for this lane: https://js.stripe.com/endive/stripe.js (loaded automatically by ngx-stripe).

Named trains and apiVersion

Stripe.js ships named versions on a schedule. ngx-stripe hardcodes the matching CDN URL per package line. On basil and newer, do not pass a legacy apiVersion into Stripe() / provideNgxStripe options — that constructor option is unsupported on those trains and will throw. Align @stripe/stripe-js major with the middle digit of ngx-stripe instead.

Policy: Stripe.js versioning.

Support levels

  • active — current Angular majors with published Stripe trains (see the release matrix).
  • maintenance — previous Angular majors; fixes and Stripe-train sync as practical.
  • lts / best-effort / legacy — older lines; install from the matching dist-tag when published.

Older-lane playground

Templates live in playground/lanes/{angular}.{stripeJs}/ in the GitHub repo and open via StackBlitz GitHub import (not one-off cloud project IDs).

Open playground for Angular 22 · v10 endive (latest)