Removes the subscription data parameter from the Create Checkout Session endpoint
Removes the subscription_data[coupon] parameter from the Create Checkout Session endpoint. Use the discounts parameter instead.
docs.stripe.comquote checked
- behaviour change
- Your codeby hand
Nemotron fixes
In its own wordsmatches the page ✓
| [Removes the subscription data parameter from the Create Checkout Session endpoint](https://docs.stripe.com/changelog/2022-08-01/removes-subscription-data-create-checkout-session.md) | Checkout, Billing | Breaking | api |
Also readmatches the page ✓
Removes the `subscription_data[coupon]` parameter from the [Create Checkout Session](https://docs.stripe.com/api/checkout/sessions/create.md?api-version=2024-06-20) endpoint. Use the `discounts` parameter instead.
- Lets you apply discounts to Checkout Sessions using the discounts parameter, instead of the previously available subscription_data[coupon] parameter. This provides a more generic way to handle discounts, rather than being limited to just coupons.
What Teire looks for in your code
nothing to search for: checked by hand
Does it reach your code?