Skip to content

Instantly share code, notes, and snippets.

@satorunooshie
Last active July 19, 2022 09:37
Show Gist options
  • Select an option

  • Save satorunooshie/61467601e8d4e49c7edacd270a0b61c8 to your computer and use it in GitHub Desktop.

Select an option

Save satorunooshie/61467601e8d4e49c7edacd270a0b61c8 to your computer and use it in GitHub Desktop.
App Store Server Notifications V2 notification type list
type description subtype
CONSUMPTION_REQUEST 返金リクエスト開始
DID_CHANGE_RENEWAL_PREF サブスクリプションプランをアップグレード・ダウングレード 1. UPGRADE 2. DOWNGRADE
DID_CHANGE_RENEWAL_STATUS サブスクリプションの自動更新を再度有効化・無効化 1. AUTO_RENEW_ENABLED 2. AUTO_RENEW_DISABLED
DID_FAIL_TO_RENEW サブスクリプションの購入失敗 1. GRACE_PERIOD(決済猶予期間のため使用可能) 2. ''(利用停止できる)
DID_RENEW サブスクリプション正常更新 1. BILLING_RECOVERY(期限切れのサブスクリプションが更新成功) 2. ''(自動更新成功)
EXPIRED サブスクリプションが期限切れ 1. VOLUNTARY(更新を無効にして期限切れ) 2. PRICE_INCREASE(値上げに同意せず期限切れ)
GRACE_PERIOD_EXPIRED サブスクリプションを更新せずに決済猶予期間が終了したため利用停止できる
OFFER_REDEEMED プロモーション・オファーまたはオファーコードの引き換え 1. INITIAL_BUY 2. RESUBSCRIBE 3. UPGRADE 4. DOWNGRADE 5. ''(利用中のサブスクリプションのオファーの引き換え)
PRICE_INCREASE システムが自動更新できるサブスクリプションの価格上昇をユーザーに通知 1. PENDING 2. ACCEPTED(同意した場合もしくは同意が不要の場合)
REFUND 返金(revocationReasonに理由が記載される)
REFUND_DECLINED 返金拒否
RENEWAL_EXTENDED サブスクリプションの更新日延長
REVOKE Family Sharingを無効にしたか、購入者か家族がFamilyから脱退した場合、または購入者に返金された場合
SUBSCRIBED 購入 1. INITIAL_BUY 2. RESUBSCRIBE
TEST テスト通知用
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment