From c371d6eb7882fe48222077a927e59524fe60539f Mon Sep 17 00:00:00 2001 From: Minhaz Ahmed Syrus Date: Tue, 6 Nov 2018 16:58:05 +0600 Subject: [PATCH] Add missing subscription billing retry flag --- appstore/notification.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appstore/notification.go b/appstore/notification.go index 64e76af..3e61b63 100644 --- a/appstore/notification.go +++ b/appstore/notification.go @@ -73,8 +73,9 @@ type SubscriptionNotification struct { AutoRenewProductID string `json:"auto_renew_product_id"` // HACK (msyrus): Separate Subscriptiton Notification from Notification verification response - Status int `json:"status"` - Receipt NotificationReceipt `json:"recipt"` + Status int `json:"status"` + Receipt NotificationReceipt `json:"recipt"` + SubscriptionRetryFlag string `json:"is_in_billing_retry_period"` // Posted if the notification_type is RENEWAL or INTERACTIVE_RENEWAL, and only if the renewal is successful. // Posted also if the notification_type is INITIAL_BUY.