I
I
i__egor2020-09-22 10:43:18
Unity
i__egor, 2020-09-22 10:43:18

How to restore purchases in unity?

Why is this condition always met, even if you logged in from another account where you did not make purchases?

public void OnPurchaseFailer(Product product, PurchaseFailureReason reason)
        {
            // когда покупка была уже совершена, восстановим покупки
            if(reason == PurchaseFailureReason.DuplicateTransaction)
            {
                //почему это условие выполняется всегда, даже если зашли с другого аккаунта, где не совершали покупки?
             
            }
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question