adds pack of 10 tournaments IAP

newoffer2025
Laurent 2 months ago
parent c191288eb7
commit eb7df86c50
  1. 65
      PadelClub/SyncedProducts.storekit
  2. 2
      PadelClub/Views/Tournament/Subscription/PurchaseListView.swift

@ -1,11 +1,36 @@
{ {
"appPolicies" : {
"eula" : "",
"policies" : [
{
"locale" : "en_US",
"policyText" : "",
"policyURL" : ""
}
]
},
"identifier" : "2055C391", "identifier" : "2055C391",
"nonRenewingSubscriptions" : [ "nonRenewingSubscriptions" : [
], ],
"products" : [ "products" : [
{ {
"displayPrice" : "14.0", "displayPrice" : "129.0",
"familyShareable" : false,
"internalID" : "6751947241",
"localizations" : [
{
"description" : "Achetez 10 tournois",
"displayName" : "Pack de 10 tournois",
"locale" : "fr"
}
],
"productID" : "app.padelclub.tournament.unit.10",
"referenceName" : "Pack de 10 tournois",
"type" : "Consumable"
},
{
"displayPrice" : "17.0",
"familyShareable" : false, "familyShareable" : false,
"internalID" : "6484163993", "internalID" : "6484163993",
"localizations" : [ "localizations" : [
@ -22,57 +47,53 @@
], ],
"settings" : { "settings" : {
"_applicationInternalID" : "6484163558", "_applicationInternalID" : "6484163558",
"_askToBuyEnabled" : false,
"_billingGracePeriodEnabled" : false,
"_billingIssuesEnabled" : false,
"_compatibilityTimeRate" : { "_compatibilityTimeRate" : {
"3" : 6 "3" : 6
}, },
"_developerTeamID" : "BQ3Y44M3Q6", "_developerTeamID" : "BQ3Y44M3Q6",
"_disableDialogs" : false,
"_failTransactionsEnabled" : false, "_failTransactionsEnabled" : false,
"_lastSynchronizedDate" : 735034894.72550702, "_lastSynchronizedDate" : 779705033.96878397,
"_locale" : "en_US", "_locale" : "en_US",
"_renewalBillingIssuesEnabled" : false,
"_storefront" : "USA", "_storefront" : "USA",
"_storeKitErrors" : [ "_storeKitErrors" : [
{ {
"current" : null,
"enabled" : false, "enabled" : false,
"name" : "Load Products" "name" : "Load Products"
}, },
{ {
"current" : null,
"enabled" : false, "enabled" : false,
"name" : "Purchase" "name" : "Purchase"
}, },
{ {
"current" : null,
"enabled" : false, "enabled" : false,
"name" : "Verification" "name" : "Verification"
}, },
{ {
"current" : null,
"enabled" : false, "enabled" : false,
"name" : "App Store Sync" "name" : "App Store Sync"
}, },
{ {
"current" : null,
"enabled" : false, "enabled" : false,
"name" : "Subscription Status" "name" : "Subscription Status"
}, },
{ {
"current" : null,
"enabled" : false, "enabled" : false,
"name" : "App Transaction" "name" : "App Transaction"
}, },
{ {
"current" : null,
"enabled" : false, "enabled" : false,
"name" : "Manage Subscriptions Sheet" "name" : "Manage Subscriptions Sheet"
}, },
{ {
"current" : null,
"enabled" : false, "enabled" : false,
"name" : "Refund Request Sheet" "name" : "Refund Request Sheet"
}, },
{ {
"current" : null,
"enabled" : false, "enabled" : false,
"name" : "Offer Code Redeem Sheet" "name" : "Offer Code Redeem Sheet"
} }
@ -89,7 +110,15 @@
"subscriptions" : [ "subscriptions" : [
{ {
"adHocOffers" : [ "adHocOffers" : [
{
"displayPrice" : "45.0",
"internalID" : "1A02CDB5",
"numberOfPeriods" : 12,
"offerID" : "PRICE50",
"paymentMode" : "payAsYouGo",
"referenceName" : "ancien prix 50",
"subscriptionPeriod" : "P1M"
}
], ],
"codeOffers" : [ "codeOffers" : [
@ -110,7 +139,10 @@
"recurringSubscriptionPeriod" : "P1M", "recurringSubscriptionPeriod" : "P1M",
"referenceName" : "Monthly Five", "referenceName" : "Monthly Five",
"subscriptionGroupID" : "21474782", "subscriptionGroupID" : "21474782",
"type" : "RecurringSubscription" "type" : "RecurringSubscription",
"winbackOffers" : [
]
}, },
{ {
"adHocOffers" : [ "adHocOffers" : [
@ -135,13 +167,16 @@
"recurringSubscriptionPeriod" : "P1M", "recurringSubscriptionPeriod" : "P1M",
"referenceName" : "Monthly Unlimited", "referenceName" : "Monthly Unlimited",
"subscriptionGroupID" : "21474782", "subscriptionGroupID" : "21474782",
"type" : "RecurringSubscription" "type" : "RecurringSubscription",
"winbackOffers" : [
]
} }
] ]
} }
], ],
"version" : { "version" : {
"major" : 3, "major" : 4,
"minor" : 0 "minor" : 0
} }
} }

@ -110,7 +110,7 @@ struct PurchaseView: View {
var body: some View { var body: some View {
HStack { HStack {
Image(systemName: self.purchaseRow.item.systemImage) Image(systemName: self.purchaseRow.item.summarySystemImage)
.foregroundColor(.accentColor).font(.title2) .foregroundColor(.accentColor).font(.title2)
VStack(alignment: .leading) { VStack(alignment: .leading) {
Text(self.purchaseRow.name) Text(self.purchaseRow.name)

Loading…
Cancel
Save