docs/integrations/payments/stripe.mdx
Stripe is a widely used payment processor that enables secure and seamless transactions for online businesses. It supports multiple payment methods, automates payouts, and ensures a smooth checkout experience for customers.
<Tip> In [Spree Enterprise Edition](https://spreecommerce.org/pricing/), Stripe can also be used to power marketplace payments, enabling automated vendor payouts, split payments, and secure transaction handling. </Tip>Before you can enable Stripe, it must be installed. To do so, you need to run the following command:
bundle add spree_stripe && bundle exec rails g spree_stripe:install
After that, you need to make sure to restart the server.
Sign in to your Spree admin dashboard and navigate to Settings → Payments.
Find Stripe under Available Payment Methods and click Add.
This will redirect you to the Stripe setup form.
Simply copy and paste the Publishable Key and Secret Key from your Stripe dashboard into their respective fields and click Create to enable Stripe as a payment method on your store.
<Note> The **Publishable Key** and **Secret Key** can be found in the Get Started section of the Home screen in your Stripe dashboard. Alternatively, they can be found out in **Developers → API Keys**. </Note>You can optionally configure the following settings for your Stripe payment method:
To enable Apple Pay (including Apple Pay quick checkout) as a payment method, follow these steps:
If you'd like to test your checkout flow without processing real payments, Stripe's test mode is a safe and effective way to simulate transactions. To enable it, simply switch your Stripe dashboard to Test mode and paste the corresponding test API keys into the payment method settings in Spree.
Spree’s native Stripe integration supports a wide range of features and payment methods to help you offer a fast, secure, and flexible checkout experience:
Spree’s Stripe integration enhances the customer experience with dynamic, context-aware payment options across the storefront:
Spree Commerce Enterprise Edition comes with a fully automated Stripe Connect integration for multi-vendor marketplace use cases:
Feel free to reach out to learn more.