Good morning to the whole community, I would like to publish my app with a free trial period, then if the customer likes it they should
subscribe to an annual subscription. Thanks to Erel I was able to test the in-app purchase with the code
and for the answer
This is the first time I publish an app on the Apple Store, so I am having trouble and would like some information to help me do it.
With the in-app purchase through a check of the days passed, trial or annual, I would use the code to request payment and possibly
block the app if necessary, with the annual subscription is the payment request completely managed by the Apple Store?
with the sub Sub MyStore_PurchaseCompleted (Success As Boolean, Product As Purchase)
do I intercept the payment as in an in-app purchase?
Is there a possibility of setting up a subscription with a free trial period, is it easy to do it?
Are there any tutorials? Erel, someone from the forum or Apple Store
subscribe to an annual subscription. Thanks to Erel I was able to test the in-app purchase with the code
B4X:
Sub richiesta
MyStore.Initialize("MyStore")
If MyStore.CanMakePayments = True Then
MyStore.RequestPayment("product.id")
End If
End Sub
B4X:
Sub MyStore_PurchaseCompleted (Success As Boolean, Product As Purchase)
Log("Acquisto completato")
If Product.IsInitialized Then
Log("Product: " & Product.ProductIdentifier & ", date=" & DateTime.Time(Product.TransactionDate) & _
", Transaction identifier=" & Product.TransactionIdentifier)
End If
If Success =True Then
hd.ToastMessageShow("Acquisto completato",False)
End If
End Sub
With the in-app purchase through a check of the days passed, trial or annual, I would use the code to request payment and possibly
block the app if necessary, with the annual subscription is the payment request completely managed by the Apple Store?
with the sub Sub MyStore_PurchaseCompleted (Success As Boolean, Product As Purchase)
do I intercept the payment as in an in-app purchase?
Is there a possibility of setting up a subscription with a free trial period, is it easy to do it?
Are there any tutorials? Erel, someone from the forum or Apple Store