Iphone in the application acquires a non-renewable product, buy several times

I have an in-app purchase that is not renewable. When someone buys this product, some content is unlocked within one month (no download and installation required).

After a month, the user is invited to buy a non-renewable product again, i.e. The user must buy this non-renewable product a second time.

The problem is that when he tries to do this, the user (testing) received the following message:

You've already purchased this but is hasn't been downloaded. Tap ok to download it now. 

But my product does not need to be downloaded, and the transaction completed earlier was successfully completed and removed from the transaction queue:

 [[SKPaymentQueue defaultQueue] finishTransaction:transaction]; 

Does anyone know how to do this?

+4
source share
1 answer

Do you use the right to a free subscription?

Then, make sure that the flag you ever set is in order to find out if you purchased this product or not. And also make sure that this flag expires with the expiration of this subscription.

And if you do this than with the purchase of this product, you will probably get this kind of warning ...

Subscription alert

-1
source

Source: https://habr.com/ru/post/1390285/


All Articles