Angular 22 · Stripe.js endive · ngx-stripe 22.10
Ngx Stripe

Ngx Stripe

Stripe.js for Angular — Observables, standalone Elements, and typed APIs.

Reactive

Observable StripeService

Every Stripe.js call returns an Observable — confirm payments, create methods, and retrieve intents the Angular way.

Elements

Standalone components

Drop in Payment Element, Express Checkout, Address, Link, Cards, Issuing, and more — no NgModule required.

Aligned

Version lanes

Track Angular majors and Stripe.js named versions together. Types come from @stripe/stripe-js — not duplicated.

Guided path

Collect your first payment in minutes

Provide ngx-stripe

Register Stripe in your app config providers, then pass that config into bootstrapApplication.

main.ts
import { ApplicationConfig } from '@angular/core';
import { bootstrapApplication } from '@angular/platform-browser';
import { provideNgxStripe } from 'ngx-stripe';

import { AppComponent } from './app/app.component';

export const appConfig: ApplicationConfig = {
  providers: [
    provideNgxStripe('pk_test_…'),
  ]
};

bootstrapApplication(AppComponent, appConfig)
  .catch((err) => console.error(err));
1 / 5

Everything you need to collect payments

A thin Angular wrapper around Stripe.js — the same Elements and Checkout flows Stripe ships, wired for templates and RxJS.

Support

Stuck on setup, looking for advice, or have an idea? Reach out — we’re glad to help.

Thanks to our sponsors — their support funds QA, testing, and keeping pace with Angular and Stripe.js.

StripePSI Mobile