Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Revenue
Platforms and marketplaces
Money management
Developer resources
Overview
About Stripe payments
Upgrade your integration
Payments analytics
Online payments
OverviewFind your use caseUse Managed Payments
Use Payment Links
Use a pre-built checkout page
Build a custom integration with Elements
    Overview
    Compare Checkout Sessions and PaymentIntents
    Quickstart guides
    Design an advanced integration
    Customise look and feel
    Manage payment methods
    Collect additional information
    Build a subscriptions integration
    Dynamic updates
      Shipping options
      Line items
      Trial durations
      Discounts
      Payment amounts
      Line item quantities
    Add discounts
    Collect taxes on your payments
    Let customers pay in their local currency
    Save and retrieve customer payment methods
    Send receipts and paid invoices
    Manually approve payments on your server
    Authorise and capture a payment separately
    Elements with Checkout Sessions API beta changelog
Build an in-app integration
Payment Methods
Add payment methods
Manage payment methods
Faster checkout with Link
Payment interfaces
Payment Links
Checkout
Web Elements
In-app payments
Payment scenarios
Handle multiple currencies
Custom payment flows
Flexible acquiring
Orchestration
In-person payments
Terminal
Beyond payments
Incorporate your company
Crypto
Financial Connections
Climate
Understand fraud
Radar fraud protection
Manage disputes
Verify identities
HomePaymentsBuild a custom integration with Elements

Dynamically update your Elements integration

Learn how to update the Checkout Session or Payment Intent as your customers make changes to the session.

Customize shipping options

Customize the shipping options based on a customer’s shipping address.

Update line items

Add, remove, or update line items based on a customer’s actions during checkout.

Update subscription trials

Update the trial length for a subscription based on promotional conditions or customer actions during checkout.

Update discounts

Apply and modify discounts, such as loyalty discounts, cart value promotions, time-sensitive offers, or customer-specific offers.

Update payment amounts

Update the payment amount when customers make changes to what they’re buying, the shipping method, or use of a discount code.

Make line item quantities adjustable

Allow your customers to adjust the quantity of items during checkout.

Was this page helpful?
YesNo
  • Need help? Contact Support.
  • Join our early access programme.
  • Check out our changelog.
  • Questions? Contact Sales.
  • LLM? Read llms.txt.
  • Powered by Markdoc