Add missing notification verification fields

This commit is contained in:
Minhaz Ahmed Syrus
2018-11-06 14:25:38 +06:00
committed by sanjid133
parent 312aa41817
commit f0ee201e43

View File

@@ -88,8 +88,7 @@ type SubscriptionNotification struct {
// HACK (msyrus): Separate Subscriptiton Notification from Notification verification response // HACK (msyrus): Separate Subscriptiton Notification from Notification verification response
Status int `json:"status"` Status int `json:"status"`
Receipt NotificationReceipt `json:"recipt"` 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 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. // Posted also if the notification_type is INITIAL_BUY.
// Not posted for notification_type CANCEL. // Not posted for notification_type CANCEL.