forked from Mirrors/go-iap
status field not present in initial_buy
This commit is contained in:
@@ -141,7 +141,7 @@ type (
|
||||
// The IAPLatestResponse type has the response properties
|
||||
// If you use latest_receipt as token to verify, response should be like following struct
|
||||
IAPLatestResponse struct {
|
||||
Status int `json:"status"`
|
||||
Status int `json:"status,omitempty"`
|
||||
Receipt InApp `json:"receipt"`
|
||||
LatestReceiptInfo InApp `json:"latest_receipt_info,omitempty"`
|
||||
LatestExpiredReceiptInfo InApp `json:"latest_expired_receipt_info,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user