サブスクリプションスケジュールフェーズの end_date 計算を更新し、billing_cycle_anchor の変更を考慮するようにしました互換性に関わる変更
新機能
サブスクリプションスケジュール を作成するときに、フェーズの end_
を明示的に設定せずに、end_
の計算に billing_cycle_anchor の変更を考慮するようにします。これにより、end_
はサブスクリプションの請求サイクルとより密接に整合します。以前の計算では、interval
、interval_
、および前のフェーズの end_
のみを使用していました。
この変更により互換性が失われる理由
統合が自動的に計算されたフェーズの end_
の値に依存する場合、計算された end_
は、前の計算式に基づいて期待される値と異なる可能性があります。
影響
サブスクリプションスケジュールの計算フェーズ end_
は、請求サイクルとより密接に整合するようになりました。この変更は新しいサブスクリプションスケジュールにのみ適用され、既存のスケジュールには影響しません。
アップグレード
関連する変更
- Removes iterations parameter for subscription schedules
- Promotion Codes now reference Coupons using a polymorphic field for promotions
- 割引ソースプロパティを追加して、割引クーポンプロパティを削除する
- Makes flexible billing mode the default for new subscriptions
- Adds customer portal configuration trial behavior
- Adds the ability to itemize proration discount amounts