コンテンツにスキップ
アカウントを作成
または
サインイン
Stripe ドキュメントのロゴ
/
AI に質問する
アカウントを作成
サインイン
始める
支払い
売上
プラットフォームおよびマーケットプレイス
資金管理
開発者向けリソース
概要
バージョン管理
変更ログ
API バージョンのアップグレード
SDK バージョンをアップグレードする
Essentials
SDK
API
テスト
Stripe CLI
ツール
ワークベンチ
開発者ダッシュボード
Stripe Shell
Visual Studio Code をご利用の場合
機能
ワークフロー
イベントの送信先
Stripe 健全性アラートファイルのアップロード
AI ソリューション
エージェントツールキット
セキュリティとプライバシー
セキュリティ
プライバシー
Stripe を拡張する
Build Stripe apps
Use apps from Stripe
    概要
    Stripe-built apps
    Adobe Commerce
    Cegid
    Commercetools
    Mirakl
    NetSuite
    Oracle Opera
    PrestaShop
    Salesforce
      Salesforce B2C Commerce
      Stripe for Salesforce Platform アプリ
      Salesforce Billing Extension
      Stripe Billing for Salesforce CPQ
        取引先と連絡先
        クーポン
        エラー処理
        エバーグリーン注文
        フィールドのデフォルトとカスタムマッピング
        MDQ 商品
        注文の修正
        商品と価格
        Set up the app
        サブスクリプションの注文
    SAP
    Shopware 6
    Stripe Tax for BigCommerce
    Stripe Tax for WooCommerce
    Partner apps
    Build your own app
パートナー
Partner Ecosystem
パートナー認定
ホーム開発者向けリソースUse apps from StripeSalesforceStripe Billing for Salesforce CPQ

注

このページはまだ日本語ではご利用いただけません。より多くの言語で文書が閲覧できるように現在取り組んでいます。準備が整い次第、翻訳版を提供いたしますので、もう少しお待ちください。

Stripe のクーポンを同期する

Salesforce と Stripe 間で Stripe のクーポンを同期する方法をご紹介します。

The Stripe Billing app for Salesforce CPQ enables you to add configurable, stackable coupons to your Stripe subscriptions and subscription items synced from Salesforce. For example, you can offer your customers a one-time discount of 10% off or 50 USD off for the first 3 months of their subscription.

権限セットを割り当てる

クーポンを正しく動作させるには、注文を追加および同期する Salesforce ユーザーに Stripe Connector Coupon User 権限セットを割り当てる必要があります。権限セットにユーザーを追加するには、そのユーザーに Salesforce CPQ ライセンスが必要です。

Salesforce の注文または注文アイテムにクーポンを追加する

コネクターが表示する以下のカスタム Salesforce オブジェクトを組み合わせて使用し、Stripe のサブスクリプションに割引を追加できます。

Salesforce オブジェクト説明
Quote Stripe CouponStripe のクーポンを表す Salesforce オブジェクト。Quote Stripe Coupon には、Stripe クーポンに対応する 1 対 1 のフィールドマッピングが含まれます。
Quote Stripe Coupon AssociationQuote Stripe Coupon を Quote に関連付けるために使用される Salesforce の連結オブジェクト。
Quote Line Stripe Coupon AssociationQuote Stripe Coupon を Quote Line に関連付けるために使用される Salesforce の連結オブジェクト。

When a Salesforce order activates, the app:

  1. Salesforce の注文または注文アイテムに対応する Quote Stripe Coupon オブジェクトを特定する
  2. 対応する Salesforce の注文または注文アイテムに Quote Stripe Coupon をシリアライズする
  3. 各 Salesforce クーポン用の Stripe クーポンを作成 (または、可能な場合は再利用) する
  4. Stripe で作成されたサブスクリプションまたはサブスクリプションアイテムにクーポンを適用する

Stripe のクーポンを再利用する

複数の注文または注文アイテムが対応する Salesforce クーポンを再利用する場合、コネクターは既存の Stripe クーポンを再利用します。元の Salesforce クーポンを変更すると、新しい Stripe クーポンが作成されます。

クーポンのカスタムマッピング

他のネイティブの Salesforce オブジェクトと同様に、データマッパーを使用して Quote Stripe Coupon をマッピングできます。デフォルトでは、Quote Stripe Coupon は Stripe Coupon への 1 対 1 のフィールドマッピングです。Quote Stripe Coupon にカスタムメタデータを追加することもできます。

カスタム Apex トリガー

コネクターはカスタム Apex トリガーを使用して、after update に Salesforce の注文で Quote_Stripe_Coupon__c をシリアライズします。Quote_Stripe_Coupon__c を変更するカスタムワークフローがある場合は、ワークフロー間の競合状態を避けるため、before update にトリガーが発生するようにしてください。

多通貨への対応

If you enabled multi-currency and you specify an amount off for the coupon, the app maps the CurrencyIsoCode on the Quote Stripe Coupon to the equivalent Stripe currency during Stripe coupon creation.

参照情報

  • Order amendments
  • Subscription orders
このページはお役に立ちましたか。
はいいいえ
お困りのことがございましたら 、サポートにお問い合わせください。
早期アクセスプログラムにご参加ください。
変更ログをご覧ください。
ご不明な点がございましたら、お問い合わせください。
LLM ですか?llms.txt を読んでください。
Powered by Markdoc