调至内容部分
创建账户或登录
Stripe 文档徽标
/
询问人工智能
创建账户登录
开始
付款
销售收入
平台和交易市场
资金管理
开发人员资源
API 和 SDK帮助
概览
版本管理
更改日志
    概览
    Clover
    Basil
    Acacia
    先前版本
升级您的 API 版本
升级 SDK 版本
基础功能
SDK
API
测试
Stripe CLI
项目示例
工具
Stripe 管理平台
Workbench
开发人员管理平台
Stripe Shell
Stripe for Visual Studio Code
功能
工作流程
事件接收端
Stripe 健康警报文件上传
AI 解决方案
代理工具包
模型上下文协议构建代理式 AI SaaS 计费工作流
安全与隐私
安全
Stripebot 网络爬虫
隐私
扩展 Stripe
构建 Stripe 应用程序
使用 Stripe 的应用程序
合作伙伴
合作伙伴生态
合作伙伴认证
美国
简体中文
首页开发人员资源ChangelogClover2025-09-30.clover

Removes postal code for card payments in certain regions on Checkout and Payment ElementBreaking changes

What’s new

A postal code is no longer collected for all card payments on Checkout and Payment Element in the following regions:

  • Canada
  • United Kingdom
  • Puerto Rico

Why is this a breaking change?

Previously, the postal code was always collected for card payments in the following scenarios:

  • On Checkout when billing_address_collection was set to auto.

  • On Payment Element when billingDetails.address was set to auto.

Impact

If you currently rely on the postal code for customers in the affected regions and don’t have automatic_tax enabled, make the changes necessary to collect this field manually:

  • For Checkout Sessions, you can set billing_address_collection to required. However, this will collect the full billing address and affect other payment methods and regions.

  • For Payment Element, you need to add your own custom fields for country and postal code, as well as set billingDetails.address to never.

Related changes

  • Removes currency conversion field from Checkout Sessions
  • Removes support for the redirectToCheckout method
  • Updates initCheckout to be synchronous
  • Adds support for collecting business and individual names in Checkout Sessions
  • Adds the ability to exclude payment methods from Checkout Sessions and Payment Intents
  • Adds support for setting the capture method for specific payment methods with the Checkout Sessions API
  • Adds support for configuring branding settings for Checkout Sessions
  • Enables specifying units of measurement for Products
此页面的内容有帮助吗?
是否
  • 需要帮助?联系支持。
  • 查看我们的更改日志。
  • 有问题?联系销售。
  • LLM? Read llms.txt.
  • Powered by Markdoc