サブスクリプションのアップセル
アップセルを使用し、顧客が決済フローでサブスクリプションプランをアップグレードできるようにします。
サブスクリプションのアップセルでは、Checkout で長期プランにアップグレードするオプションを顧客に提示します。より長期間のサブスクリプション (月次から年次など) にアップセルすることで、平均注文金額とキャッシュフローを増やすことができます。
従量課金ではない継続価格はすべて、サブスクリプションのアップセルを利用できる対象となります。どの対象価格でも、次の条件を満たす別の価格にサブスクリプションをアップセルするように設定できます。
- 価格は同じ商品を参照する必要があります。
- 価格は同じ通貨である必要があります。
- 価格は
recurring
タイプである必要があります。 - 価格で税金処理を使用する場合、それらの値は同じである必要があります。
- 価格で段階を使用する場合、各段階の
up_
の値は同じである必要があります。to - 数量の変換を使用している場合、
divide_
とby round
の値は同じである必要があります。
Create a subscription upsell 
Configure a subscription upsell in the Dashboard on the Price details page. To view the details for a Price, select a Product and select a price associated with the Product. In the Upsells section, select an upsell price from the dropdown menu. Upsells immediately apply to eligible Checkout Sessions that use that price.

Configure a subscription upsell on the Price details page.
Checkout flow 
During checkout, customers see an option to select the upsell with savings displayed, if applicable. For a Checkout Session to be eligible for upsells, it must:
- Be a subscription mode Checkout Session
- Have only one
type=recurring
price in the Checkout Session - Have a valid configuration for the upsell price
Stripe calculates savings based on the amount the user saves in one billing cycle if they chose upsell pricing. For example, a monthly subscription of 100 USD that upsells to an annual subscription of 1000 USD shows savings of 200 USD. Checkout displays the savings as an amount or a percentage, depending on the character length of the savings.
Users can toggle between the initial price option and the upsell price option and then checkout.

Customer preview.
Retrieve Checkout Session line items 
After a customer selects an upsell, the line_
for the Checkout Session update to reflect the upsell price. When fulfilling your order using the checkout.
webhook, make sure to retrieve the line items.
Trial behavior 
If a customer selects an upsell for a Checkout Session with a trial available, the trial length won’t change.
Coupon behavior 
If you pass a coupon to the discounts array of the Checkout Session, that coupon is also applied to the upsell price if a customer selects the upsell. For example, if a monthly subscription upsells to a yearly subscription, and you pass in a 50% off coupon with a duration of four months, the discount applies to all invoices in the four month period starting when the coupon is first applied. If the customer selects the upsell, the 50% discount applies to the entire yearly subscription because the yearly invoice is created during the coupon’s four month period.
Remove a subscription upsell 
You can remove a subscription upsell on the Price details page. After you remove a subscription upsell, that upsell won’t be available to any new Checkout Sessions.

Remove an upsell.