Enables specifying units of measurement for Products
What’s new
Adds the ability to specify a product’s unit of measurement using the unit_label parameter in the product_data hash.
Impact
You can now specify the unit_
when you create a Product by adding a line item to a Checkout Session, Payment Link, Payment Intent, or Invoice. You must include the product’s unit of measurement to meet the requirements of card network Level 2/Level 3 programs.
Changes
Upgrade
Related changes
- Removes postal code for card payments in certain regions on Checkout and Payment Element
- Removes currency conversion field from Checkout Session object
- 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