- Partners
- Platforms
Medusa
Install the Kustom Checkout plugin for Medusa, configure your first region in Admin and find the developer steps to connect and test checkout.
Medusa handles your catalogue, carts and orders on the server. Your team manages the store in Medusa Admin. Customers shop on a separate site called a storefront. Use your existing storefront, build one or start with Medusa’s Next.js starter.
What the plugin supports
Section titled “What the plugin supports”The plugin connects Kustom Checkout to Medusa and supports payment captures and refunds in Medusa Admin.
Before you start
Section titled “Before you start”- A supported version of Medusa v2, a storefront and a developer to connect them.
- A Kustom account for the countries and currencies you sell in.
- Access to Medusa Admin and API credentials from Kustom Playground. Generate the credentials under Developers → API in the Playground Portal.
Set up Kustom Checkout
Section titled “Set up Kustom Checkout”Install the plugin
Section titled “Install the plugin”In your Medusa backend, run npm install @kustom-checkout/medusa-plugin-kustom@1.3.0.
Then register the plugin and payment provider
and configure the backend and run the migrations.
Enter your Playground credentials
Section titled “Enter your Playground credentials”In Medusa Admin, open Settings → Kustom → Checkout Configuration. Under Credentials, select Playground and enter your API username and API password. Select Test connection, then Save. See credential and provider setup.

Enter test credentials in Kustom settings.
Choose where to offer Kustom Checkout
Section titled “Choose where to offer Kustom Checkout”In Settings → Regions, open a region and choose Edit. Add Kustom (KUSTOM) under Payment Providers and save. Repeat for each region that should offer Kustom Checkout.

Enable Kustom for a region, such as Sweden.
Set up delivery in Medusa
Section titled “Set up delivery in Medusa”For orders you ship, configure your stock locations, fulfillment providers and shipping options under Settings → Locations & Shipping. The plugin sends the available options to checkout.

Kustom Shipping Assistant (optional)
Section titled “Kustom Shipping Assistant (optional)”For live carrier choices, pickup points or delivery windows, set up a Shipping Assistant profile for your markets in Kustom Portal. Your shipping provider determines which options, prices and rules apply. Medusa shipping options can serve as a fallback.
In Settings → Kustom → Checkout Configuration, Allow Separate Shipping Address lets shoppers enter a different delivery address. With the switch off, Shipping Assistant can still appear when the order has shipping options and the market has a matching Portal profile. See Shipping Assistant setup for Medusa.


Connect your storefront
Section titled “Connect your storefront”Connect your storefront before customers can check out. Follow the steps to open and update checkout from your storefront and show order confirmation.
On-Site Elements (optional)
Section titled “On-Site Elements (optional)”Check the Elements key and allowed domains in Settings → Kustom → On-Site Elements. Set up express buttons in the Kustom Portal if you use them. See Kustom Elements setup for Medusa.


Test checkout
Section titled “Test checkout”Run the end-to-end Playground checklist. Check delivery, payment, confirmation, captures and refunds before you go live.
Related
Section titled “Related”This page is also available as Markdown — append .md to its URL — and is indexed in llms.txt.