クーポン、割引、プロモーションコード
Stripeのクーポン、顧客向けプロモーションコード、サブスクリプションや請求書に適用する割引を使い、コンバージョンと顧客維持率を高めます。
「クーポン、割引、プロモーションコード」はCoddyKit上の無料Stripe Payments & SaaS Billing Systemsレッスンです。 これはレッスン4/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはStripe Payments & SaaS Billing Systems学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 Stripe Payments & SaaS Billing Systemsコースには全4レッスンが含まれています。
このレッスンの一部はまだ翻訳されておらず、英語で表示されています。
Why Discounts Matter
Discounts drive sign-ups, win-back, and loyalty. Stripe has first-class support for coupons and promotion codes on subscriptions.
Coupons vs Promotion Codes
A coupon defines the discount logic. A promotion code is a customer-facing string that points to a coupon.
- Coupon: 20% off
- Promo code: SAVE20
Percentage vs Amount Off
A coupon discounts either a percentage or a fixed amount in a currency.
const coupon = { percent_off: 20 };
const price = 5000;
const discounted = price * (1 - coupon.percent_off / 100);
console.log(discounted);Duration of a Coupon
Coupons have a duration: once (one invoice), repeating (a set number of months), or forever.
Creating a Coupon
You create coupons in the dashboard or via API.
const coupon = await stripe.coupons.create({
percent_off: 25,
duration: 'repeating',
duration_in_months: 3
});Adding a Promotion Code
Wrap a coupon in a promo code so customers can type it at checkout.
const promo = await stripe.promotionCodes.create({
coupon: coupon.id,
code: 'SAVE25'
});Restrictions on Promo Codes
Promotion codes can be limited: first-time customers only, a minimum order amount, a max redemption count, or an expiry date.
Applying at Checkout
Enable the promo code field in Checkout so customers can self-apply codes without code changes.
const session = await stripe.checkout.sessions.create({
mode: 'subscription',
allow_promotion_codes: true,
line_items: [{ price: 'price_123', quantity: 1 }]
});Applying to an Existing Subscription
You can attach a discount to a running subscription, useful for retention offers when someone tries to cancel.
await stripe.subscriptions.update('sub_123', {
discounts: [{ coupon: 'coupon_abc' }]
});Discounts and Proration
Discounts interact with proration when plans change mid-cycle. Always test the resulting invoice preview to confirm the final charge.
Tracking Redemptions
Monitor how often each promo code is used and its impact on conversion, so you can retire underperforming offers.
Quick Check
What is the difference between a coupon and a promotion code?
Recap
You learned to offer discounts in Stripe:
- Coupons define the discount; promo codes expose it to customers
- Percentage or amount off, with once/repeating/forever duration
- Restrictions like first-time-only and expiry
- Apply at checkout or to existing subscriptions for retention
AI チューターと学ぶ Stripe Payments & SaaS Billing Systems — 無料
ブラウザでリアルコードを書いて実行し、24/7 の AI チューターから瞬時にサポートを受け、ウェブまたはアプリで続きから学習できます。
- コース
- 12
- レッスン
- 48
よくある質問
「クーポン、割引、プロモーションコード」レッスンは無料ですか?
はい。「クーポン、割引、プロモーションコード」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、Stripe Payments & SaaS Billing Systemsコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 Stripe Payments & SaaS Billing Systemsコースには全4レッスンが含まれています。
「クーポン、割引、プロモーションコード」で何を学びますか?
Stripeのクーポン、顧客向けプロモーションコード、サブスクリプションや請求書に適用する割引を使い、コンバージョンと顧客維持率を高めます。 ブラウザで直接実行するハンズオンコードでStripe Payments & SaaS Billing Systemsを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。
Stripe Payments & SaaS Billing Systemsを始めるのに経験は必要ですか?
事前経験は必要ありません。CoddyKitのStripe Payments & SaaS Billing Systemsは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン4/4です。
「クーポン、割引、プロモーションコード」レッスンにはどのくらい時間がかかりますか?
ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。
このStripe Payments & SaaS Billing Systemsレッスンでコードを書いて実行できますか?
はい。すべてのStripe Payments & SaaS Billing Systemsレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。
このコースのすべてのレッスン
- トライアル期間とプラン変更への対応
- 日割り計算と従量課金の実装
- サブスクリプションのライフサイクル管理とイベント
- クーポン、割引、プロモーションコード