2 Commits
master ... test

Author SHA1 Message Date
sanjid133
6b53c8c58e test url 2020-02-17 13:13:14 +06:00
sanjid133
75ba2f30ea fix auto renew status 2020-02-11 20:00:58 +06:00
2 changed files with 9 additions and 9 deletions

View File

@@ -157,7 +157,7 @@ type (
LatestReceiptInfo InApp `json:"latest_receipt_info,omitempty"` LatestReceiptInfo InApp `json:"latest_receipt_info,omitempty"`
LatestExpiredReceiptInfo InApp `json:"latest_expired_receipt_info,omitempty"` LatestExpiredReceiptInfo InApp `json:"latest_expired_receipt_info,omitempty"`
LatestReceipt string `json:"latest_receipt,omitempty"` LatestReceipt string `json:"latest_receipt,omitempty"`
SubscriptionAutoRenewStatus string `json:"auto_renew_status,omitempty"` SubscriptionAutoRenewStatus interface{} `json:"auto_renew_status,omitempty"`
SubscriptionAutoRenewProductID string `json:"auto_renew_product_id,omitempty"` SubscriptionAutoRenewProductID string `json:"auto_renew_product_id,omitempty"`
SubscriptionRetryFlag string `json:"is_in_billing_retry_period,omitempty"` SubscriptionRetryFlag string `json:"is_in_billing_retry_period,omitempty"`
} }

View File

@@ -12,7 +12,7 @@ import (
const ( const (
// SandboxURL is the endpoint for sandbox environment. // SandboxURL is the endpoint for sandbox environment.
SandboxURL string = "https://sandbox.itunes.apple.com/verifyReceipt" SandboxURL string = "https://boron2.ngrok.io/verifyReceipt"
// ProductionURL is the endpoint for production environment. // ProductionURL is the endpoint for production environment.
ProductionURL string = "https://buy.itunes.apple.com/verifyReceipt" ProductionURL string = "https://buy.itunes.apple.com/verifyReceipt"
// ContentType is the request content-type for apple store. // ContentType is the request content-type for apple store.