www/apps/resources/app/commerce-modules/payment/payment-checkout-flow/page.mdx
export const metadata = {
title: Payment Steps in Checkout Flow,
}
In this guide, you'll learn about Medusa's accept payment flow that's used in checkout.
The Medusa application has a built-in payment flow that allows you to accept payments from customers, typically during checkout.
This flow is designed to be flexible and extensible, allowing you to integrate with various payment providers.
The payment flow consists of the following steps:
If you're using the Next.js Starter Storefront, the checkout flow is already implemented with the payment step.
If you're building a custom storefront, or you want to customize the checkout flow, you can follow the Checkout in Storefront guide to learn how to build the checkout flow in the storefront, including the payment step.
You can also build a custom payment flow using workflows or the Payment Module's main service.
Refer to the Accept Payment Flow guide to learn more.