forked from Mirrors/go-iap
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b53c8c58e | ||
|
|
75ba2f30ea |
@@ -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"`
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user