2 Commits

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
+1 -1
View File
@@ -157,7 +157,7 @@ type (
LatestReceiptInfo InApp `json:"latest_receipt_info,omitempty"`
LatestExpiredReceiptInfo InApp `json:"latest_expired_receipt_info,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"`
SubscriptionRetryFlag string `json:"is_in_billing_retry_period,omitempty"`
}
+1 -1
View File
@@ -12,7 +12,7 @@ import (
const (
// 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 string = "https://buy.itunes.apple.com/verifyReceipt"
// ContentType is the request content-type for apple store.