Skip to content

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.

The plugin connects Kustom Checkout to Medusa and supports payment captures and refunds in Medusa Admin.

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.

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.

Medusa Admin with the Kustom credentials form open and Playground selected.

Enter test credentials in Kustom settings.

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.

The Medusa region editor with Kustom selected under Payment Providers.

Enable Kustom for a region, such as Sweden.

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.

Standard delivery listed under Shipping options for a Sweden service zone in Medusa Admin.

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.

Medusa Admin
Allow Separate Shipping Address switch in Medusa Checkout Configuration.
What shoppers see
Shipping Assistant example showing a parcel locker and home delivery with estimates and prices.

Connect your storefront before customers can check out. Follow the steps to open and update checkout from your storefront and show order confirmation.

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.

Medusa Admin
Medusa On-Site Elements in Playground showing the masked Elements public API key and express wallet settings.Playground test shop with the Elements key masked.
Storefront example
Product page with a row of payment logos beneath the Choose size button.Your developer adds this to your storefront.

Run the end-to-end Playground checklist. Check delivery, payment, confirmation, captures and refunds before you go live.

This page is also available as Markdown — append .md to its URL — and is indexed in llms.txt.