Service
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 docs for more details:

confirmAuBecsDebitPayment

confirmAuBecsDebitSetup

[DEPRECATED] handleCardPayment

[DEPRECATED] confirmPaymentIntent

[DEPRECATED] handleCardSetup

[DEPRECATED] confirmSetupIntent

[DEPRECATED] handleFpxPayment

Last modified 1yr ago
Copy link