From f0ee201e4364a0bfb079cdc74d54d2b5d5f5aabd Mon Sep 17 00:00:00 2001 From: Minhaz Ahmed Syrus Date: Tue, 6 Nov 2018 14:25:38 +0600 Subject: [PATCH] Add missing notification verification fields --- appstore/notification.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/appstore/notification.go b/appstore/notification.go index 111e680..78f18c1 100644 --- a/appstore/notification.go +++ b/appstore/notification.go @@ -88,8 +88,7 @@ type SubscriptionNotification struct { // HACK (msyrus): Separate Subscriptiton Notification from Notification verification response Status int `json:"status"` Receipt NotificationReceipt `json:"recipt"` - SubscriptionRetryFlag string `json:"is_in_billing_retry_period"` - + SubscriptionRetryFlag string `json:"is_in_billing_retry_period,omitempty"` // 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. // Not posted for notification_type CANCEL.