Default customer creation in Checkout Session payment mode changed to `if_required`
When creating a Checkout Session and specifying the mode as payment, the default value of customer_creation has changed from always to if_required.
docs.stripe.comquote checked
- behaviour change
- Your codeby hand
Nemotron fixes
In its own wordsmatches the page ✓
| [Default customer creation in Checkout Session payment mode changed to `if_required`](https://docs.stripe.com/changelog/2022-08-01/default-customer-creation-checkout-session.md) | Checkout | Breaking | api |
Also readmatches the page ✓
When creating a Checkout Session and specifying the `mode` as `payment`, the default value of `customer_creation` has changed from `always` to `if_required`.
- This change gives you more flexibility in how customers are created. Instead of always creating a customer, the customer is only created if it’s required, reducing the unnecessary creation of a customer.
What Teire looks for in your code
nothing to search for: checked by hand
Does it reach your code?