A
A
Aleksandr Govorukhin2019-02-27 11:22:43
Swift
Aleksandr Govorukhin, 2019-02-27 11:22:43

How to solve the in-app purchase problem?

Hello!
Right to the heart of the problem:
There is an application and there is an in-app purchase. When testers make a purchase, everything goes smoothly, the restoration of the purchase also works like clockwork. But, when it comes to other users (the application is already in the appstore), then the payment goes through and absolutely nothing happens, the money is debited, the restoration of the purchase also does not bring any results.
With what it can be connected?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Donkovtsev, 2019-03-06
@Demetriy

Judging by the above code, you must either do atomically: true, or if something is downloaded upon purchase, after downloading is complete, do something like:

SwiftyStoreKit.finishTransaction(download.transaction)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question