Ngx Stripe
  • Introduction
  • Getting Started
    • Installation
    • Setup Application
  • Core Concepts
    • Checkout
    • Payment Element
    • Element Components
    • Identity
    • Payment Request Button
    • Service
    • Styling
    • Service Factory
    • Reference & Instance
    • Manually Mount your Element
  • Support
  • FAQS
  • Examples
  • Migration
Powered by GitBook
On this page

Was this helpful?

  1. Core Concepts

Service

PreviousPayment Request ButtonNextStyling

Last updated 4 years ago

Was this helpful?

Once imported, you can inject the StripeService anywhere you need. The stripe script will be loaded the first time the service is injected.

The stripe service exposes the same methods as the StripeJS instance but with typescript types. The API is based on Observables so it can be combined with other actions.

This is a full list of the methods available in the Stripe Service. In the future more details will be added to this docs. In the mean time you can check the official StripeJS for more details:

confirmAuBecsDebitPayment

confirmAuBecsDebitSetup

[DEPRECATED]

[DEPRECATED]

[DEPRECATED]

[DEPRECATED]

[DEPRECATED]

docs
confirmBancontactPayment
confirmCardPayment
confirmEpsPayment
confirmFpxPayment
confirmGiropayPayment
confirmIdealPayment
confirmP24Payment
confirmSepaDebitPayment
handleCardAction
createPaymentMethod
retrievePaymentIntent
confirmCardSetup
confirmSepaDebitSetup
retrieveSetupIntent
paymentRequest
createToken
createSource
retrieveSource
handleCardPayment
confirmPaymentIntent
handleCardSetup
confirmSetupIntent
handleFpxPayment