www/apps/bloom/app/features/integrations/guides/stripe/page.mdx
import { InProductAction, getOsShortcut } from "docs-ui"
export const metadata = {
title: Stripe Integration,
}
Add Stripe to accept payments in your Bloom store.
Stripe lets you accept credit cards, Apple Pay, Google Pay, and more from customers worldwide. Bloom sets it up for you in minutes.
Before adding Stripe, you need a Stripe account and API keys.
To get your Stripe API keys:
Test keys start with sk_test_ (secret) and pk_test_ (publishable). You'll need both keys when Bloom asks for them.
To add Stripe using the <InProductAction product={"bloom"} type={"MEDUSA_AI_OPEN_PANE"} data={{ pane: "integrations" }}>Integrations</InProductAction> panel:
Bloom will start setting up Stripe and ask you questions about how you want it configured.
After you click "Build," Bloom will ask you which regions you want to enable Stripe in. Customers in those regions will see Stripe as a payment option at checkout.
You can select specific regions or enable Stripe globally. Bloom will set up Stripe based on your preferences.
Next, Bloom will ask for your API keys:
pk_test_).sk_test_).Bloom will start the setup process and configure Stripe with the provided API keys and region settings.
<Note title="Technical Information">Bloom stores your Stripe credentials as environment variables in your store. They're never exposed in your code or logs. See Environment Variables for more details.
</Note>After Bloom finishes the setup, test Stripe in your preview store using Stripe's test card numbers:
4242 4242 4242 4242) to place an order.If both dashboards show the order and payment, Stripe is working correctly.
Once you've tested Stripe and it's working correctly, publish your store to make it live with production credentials.
To publish your Stripe integration:
Your Stripe integration is now active on your live store. Customers can use Stripe to make real payments.
If you face any issues while adding Stripe to your Bloom store, contact support or submit feedback.