# How checkout works
Every step a buyer goes through, from the cart to the confirmation page, and the settings that change it.
Checkout is where a buyer gives their details and pays. It works the same on a phone and a computer, and it adapts to what is in the cart: a digital-only order skips the shipping steps.
```video walkthroughs/f04-mobile-checkout
title: Checkout on a phone
caption: A buyer goes from cart to confirmation on a phone.
```
## What a buyer sees at each step
```screenshot payments/how-checkout-works/01-checkout-details
alt: Checkout on a phone showing the contact email field, the shipping address form and the collapsible order summary at the top
caption: The first checkout step on a phone.
frame: phone
```
1. **Cart.** The buyer reviews items and can add a promo code. If you choose **Buy now only** in [checkout settings](/docs/settings/checkout-settings), buyers skip the cart and go straight to checkout.
2. **Contact and address.** The buyer enters their email. Orders that ship always ask for a shipping address. A digital-only order asks for the buyer's country instead, with the note "We use your country to calculate applicable tax. Digital items do not need a shipping address."
3. **Delivery.** For orders that ship, the buyer picks a shipping rate. See [Set up shipping](/docs/shipping/set-up-shipping).
4. **Payment.** The buyer picks Stripe or PayPal and clicks **Continue to payment**. They finish paying on the provider's own secure page.
5. **Confirmation.** The buyer lands on the order confirmation page and gets a confirmation email. Digital files appear under **Your downloads**.
```screenshot payments/how-checkout-works/02-payment-step
alt: The payment step on a phone with Stripe and PayPal choices and the Continue to payment button
caption: Buyers choose how to pay, then finish on the provider's page.
frame: phone
```
> **Note:** An order is paid only when the provider confirms it. The payment step says so: "Complete payment on the provider's page. Your order is paid only after confirmation."
## What you can change
| You want to | Where |
|---|---|
| Ask for name, phone or company on digital orders | [Checkout settings](/docs/settings/checkout-settings), **Customer information** |
| Make buyers tick a terms checkbox | [Checkout settings](/docs/settings/checkout-settings), **Terms** |
| Show a newsletter checkbox | [Checkout settings](/docs/settings/checkout-settings), **Marketing** |
| Add your own questions | [Ask buyers for extra information](/docs/settings/custom-fields) |
| Add a message and button to the confirmation page | [Checkout settings](/docs/settings/checkout-settings), **Thank-you page** |
| Show an offer after payment | [Upsell placements](/docs/marketing-growth/upsell-placements) |
| Offer a discount code | [Create a discount code](/docs/marketing-growth/create-a-discount-code) |
## How checkout looks on a phone and a computer
On a computer, the order summary sits in a column next to the form. On a phone, it is folded at the top of the page so the form comes first. Tap it to see the items and total.
```screenshot payments/how-checkout-works/03-checkout-desktop
alt: Checkout on a computer with the form on the left and the order summary column on the right
caption: On a computer, the order summary sits beside the form.
```
## What if a buyer's payment goes wrong?
| Buyer sees | Why |
|---|---|
| "Payment is unavailable", then "No payment method is available for this order right now. Please contact the store." | No payment provider is on, or none can charge this order. Check **Settings → Payments**. |
| "Payment cancelled. Check your payment status before trying again if you approved a payment." | The buyer left the provider's page. |
| "Your payment is processing. We will email you when it clears." | The provider hasn't confirmed yet. Wait before asking them to pay again. |
| "This shop can't take card payments right now. You have not been charged. Please try again later." | Checkout is paused until you verify with Stripe. See [Verify your identity](/docs/payments/identity-verification-stripe). |
| "Tick the box to agree to the terms before placing your order." | You require terms and the buyer didn't tick the box. |
When a payment doesn't finish, the buyer can come back to a **Complete your payment** page to try again.
## Related guides
- [Place a test order](/docs/payments/place-a-test-order)
- [Checkout settings](/docs/settings/checkout-settings)
- [Ask buyers for extra information](/docs/settings/custom-fields)
- [Troubleshoot payments](/docs/payments/troubleshoot-payments)
