From 0aa274084a0858b6968b6dd04fe7058e2f42211c Mon Sep 17 00:00:00 2001 From: tockn Date: Wed, 19 Feb 2020 23:52:19 +0900 Subject: [PATCH] add notification type DID_FAIL_TO_RENEW --- appstore/notification.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appstore/notification.go b/appstore/notification.go index 648d857..3f1bacc 100644 --- a/appstore/notification.go +++ b/appstore/notification.go @@ -19,6 +19,8 @@ const ( NotificationTypeDidChangeRenewalPreference NotificationType = "DID_CHANGE_RENEWAL_PREF" // Customer changed the subscription renewal status. Current active plan is not affected. NotificationTypeDidChangeRenewalStatus NotificationType = "DID_CHANGE_RENEWAL_STATUS" + // Subscription failed to renew due to a billing issue. + NotificationTypeDidFailToRenew NotificationType = "DID_FAIL_TO_RENEW" ) type NotificationEnvironment string