Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"entitlements": {
"all": {
"premium": {
"identifier": "premium",
"isActive": true,
"willRenew": true,
"periodType": "NORMAL",
"latestPurchaseDateMillis": 1700000000000,
"originalPurchaseDateMillis": 1690000000000,
"store": "APP_STORE",
"productIdentifier": "monthly",
"isSandbox": false
}
},
"active": {
"premium": {
"identifier": "premium",
"isActive": true,
"willRenew": true,
"periodType": "NORMAL",
"latestPurchaseDateMillis": 1700000000000,
"originalPurchaseDateMillis": 1690000000000,
"store": "APP_STORE",
"productIdentifier": "monthly",
"isSandbox": false
}
},
"verification": "NOT_REQUESTED"
},
"activeSubscriptions": [
"monthly"
],
"allPurchasedProductIdentifiers": [
"monthly",
"lifetime"
],
"firstSeenMillis": 1700000000000,
"originalAppUserId": "user_1",
"requestDateMillis": 1700000000001,
"originalPurchaseDateMillis": 1690000000000,
"latestExpirationDateMillis": 1720000000000,
"managementURL": "https://mgmt",
"allExpirationDatesMillis": {
"monthly": 1720000000000,
"lifetime": 0
},
"allPurchaseDatesMillis": {
"monthly": 1700000000000,
"lifetime": 0
},
"originalApplicationVersion": "1.0",
"nonSubscriptionTransactions": [
{
"transactionIdentifier": "txn_1",
"productIdentifier": "lifetime",
"purchaseDateMillis": 1700000000000
}
],
"subscriptionsByProductIdentifier": {
"monthly": {
"productIdentifier": "monthly",
"purchaseDate": "2023-01-01T00:00:00Z",
"store": "APP_STORE",
"isSandbox": false,
"periodType": "NORMAL",
"isActive": true,
"willRenew": true
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"title": "Monthly",
"identifier": "monthly",
"description": "Monthly access",
"price": 9.99,
"priceString": "$9.99",
"currencyCode": "USD",
"productCategory": "SUBSCRIPTION"
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"title": "Lifetime",
"identifier": "lifetime",
"description": "Lifetime access",
"price": 99.99,
"priceString": "$99.99",
"currencyCode": "USD",
"productCategory": "UNRECOGNIZED"
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"id": "monthly:base",
"storeProductId": "monthly",
"productId": "monthly",
"tags": [
"tag1"
],
"isBasePlan": true,
"billingPeriod": {
"unit": "MONTH",
"value": 1,
"iso8601": "P1M"
},
"isPrepaid": false,
"pricingPhases": [
{
"billingPeriod": {
"unit": "MONTH",
"value": 1,
"iso8601": "P1M"
},
"recurrenceMode": "INFINITE_RECURRING",
"billingCycleCount": 0,
"price": {
"formatted": "$9.99",
"amountMicros": 9990000,
"currencyCode": "USD"
},
"offerPaymentMode": "SINGLE_PAYMENT"
}
],
"fullPricePhase": {
"billingPeriod": {
"unit": "MONTH",
"value": 1,
"iso8601": "P1M"
},
"recurrenceMode": "INFINITE_RECURRING",
"billingCycleCount": 0,
"price": {
"formatted": "$9.99",
"amountMicros": 9990000,
"currencyCode": "USD"
},
"offerPaymentMode": "SINGLE_PAYMENT"
},
"presentedOfferingContext": {
"offeringIdentifier": "default"
},
"installmentsInfo": {
"commitmentPaymentsCount": 3,
"renewalCommitmentPaymentsCount": 1
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"id": "monthly:base",
"storeProductId": "monthly",
"productId": "monthly",
"tags": [],
"isBasePlan": true,
"billingPeriod": {
"unit": "MONTH",
"value": 1,
"iso8601": "P1M"
},
"isPrepaid": false
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"id": "monthly:base",
"storeProductId": "monthly",
"productId": "monthly",
"tags": [],
"isBasePlan": true,
"billingPeriod": {
"unit": "MONTH",
"value": 1,
"iso8601": "P1M"
},
"isPrepaid": false,
"fullPricePhase": {
"billingPeriod": {
"unit": "MONTH",
"value": 1,
"iso8601": "P1M"
},
"recurrenceMode": "BOGUS",
"billingCycleCount": 0,
"price": {
"formatted": "$9.99",
"amountMicros": 9990000,
"currencyCode": "USD"
},
"offerPaymentMode": "BOGUS"
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"formatted": "$4,294.97",
"amountMicros": 4294970000,
"currencyCode": "USD"
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"all": {
"COIN": {
"balance": 120,
"name": "Coins",
"code": "COIN",
"serverDescription": "Earned in game"
},
"GEM": {
"balance": 4,
"name": "Gems",
"code": "GEM",
"serverDescription": null
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"result": "ERROR",
"error": {
"message": "There was a credentials issue. Check the underlying error for more details.",
"code": 11,
"underlyingErrorMessage": "Backend rejected",
"readableErrorCode": "INVALID_CREDENTIALS",
"readable_error_code": "INVALID_CREDENTIALS"
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"result": "EXPIRED",
"obfuscatedEmail": "a***@b.com"
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"result": "INVALID_TOKEN"
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"result": "PURCHASE_BELONGS_TO_OTHER_USER"
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"result": "SUCCESS",
"customerInfo": {
"entitlements": {
"all": {},
"active": {},
"verification": "NOT_REQUESTED"
},
"activeSubscriptions": [],
"allPurchasedProductIdentifiers": [],
"latestExpirationDate": null,
"latestExpirationDateMillis": null,
"firstSeen": "2023-11-14T22:13:20.000Z",
"firstSeenMillis": 1700000000000,
"originalAppUserId": "user_1",
"requestDate": "2023-11-14T22:13:20.001Z",
"requestDateMillis": 1700000000001,
"allExpirationDates": {},
"allExpirationDatesMillis": {},
"allPurchaseDates": {},
"allPurchaseDatesMillis": {},
"originalApplicationVersion": null,
"originalPurchaseDate": null,
"originalPurchaseDateMillis": null,
"managementURL": null,
"nonSubscriptionTransactions": [],
"subscriptionsByProductIdentifier": {}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"result": "SOMETHING_ELSE"
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading