Skip to content
Create account or Sign in
The Stripe Docs logo
/
Ask AI
Create accountSign in
Get started
Payments
Revenue
Platforms and marketplaces
Money management
Developer resources
APIs & SDKsHelp
Overview
Versioning
Changelog
    Overview
    Clover
    Basil
    Acacia
    Previous versions
Upgrade your API version
Upgrade your SDK version
Essentials
SDKs
API
Testing
Stripe CLI
Sample projects
Tools
Stripe Dashboard
Workbench
Developers Dashboard
Stripe Shell
Stripe for Visual Studio Code
Features
Workflows
Event destinations
Stripe health alertsFile uploads
AI solutions
Agent toolkit
Model Context ProtocolBuild agentic AI SaaS Billing workflows
Security and privacy
Security
Stripebot web crawler
Privacy
Extend Stripe
Build Stripe apps
Use apps from Stripe
Partners
Partner ecosystem
Partner certification
United States
English (United States)
HomeDeveloper resourcesChangelogClover2025-12-15.clover

Adds the ability to update line items on existing Checkout Sessions with a custom UI

What’s new

You can now update line items when using Elements with Checkout Sessions. Additionally, you can now create and update line item metadata.

Impact

You can now modify session details after creating a session. This change enables more dynamic checkout flows, such as updating a shopping cart, changing promotional pricing, or adding custom tracking information through metadata.

When you update a Checkout Session with a custom UI mode you can now:

  • Update line item price, quantity, and tax_rates
  • Add and modify metadata on the session
  • Use price_data to create prices inline
  • Enable adjustable_quantity to let customers modify quantities during checkout

See the related guide for more examples.

Changes

ParameterChangeResources or endpoints
metadataAdded
Checkout.Session#create.line_items[]LineItemCheckout.Session#update

Upgrade

  1. View your current API version in Workbench.
  2. If you use an SDK, upgrade to the corresponding SDK version for this API version.
    • If you don’t use an SDK, update your API requests to include Stripe-Version: 2025-12-15.clover
  3. Upgrade the API version used for webhook endpoints.
  4. Test your integration against the new version.
  5. If you use Connect, test your Connect integration.
  6. In Workbench, perform the upgrade. You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

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