Plugin to enable payments through Stripe via the Payment Intents API.
Integration type
Category
Repository
Package
Last published
Downloads in past month
payment_intent.succeeded
and payment_intent.payment_failed
events. The URL should be https://my-server.com/payments/stripe
, where
my-server.com
is the host of your Vendure server. Note: for local development, you’ll need to use
the Stripe CLI to test your webhook locally. See the local development section below.npm install @vendure/payments-plugin stripe
plugins
array:import { StripePlugin } from '\@vendure/payments-plugin/package/stripe';
// ...
plugins: [
StripePlugin.init({
// This prevents different customers from using the same PaymentIntent
storeCustomersInStripe: true,
}),
]
For all the plugin options, see the {@link StripePluginOptions} type.See the StripePlugin docs for full documentation