Adds support for setting the capture method for specific payment methods with the Checkout Sessions API
What’s new
Adds the new capture_
parameter to payment_method_options when creating Checkout Sessions for the following payment methods:
Impact
If your integration uses manual capture with Checkout, you can now enable it selectively for supported payment methods while maintaining automatic capture for others. This eliminates the previous limitations where enabling manual capture would either remove unsupported payment methods from the UI or cause errors when explicitly requested.
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 configuring branding settings for Checkout Sessions
- Enables specifying units of measurement for Products