Please tell me how to restore receipt

I will ask you a question for the first time, thank you.


When processing in the flow as shown below,

I want to restore the receipt of the incomplete transaction, is it possible?



For example, the flow will be as follows.

Purchase the item A and do not end the transaction

Next, when purchasing the item B, transmitting the receipt, and finishing the transaction,



Acquire the receipt of the item A for which the transaction has not ended

How do I end a transaction?



I tried using SKReceipt Refresh Request,

Restoration failed.

>How do I end a transaction?


You end a transaction by calling finishTransaction.


The receipt should contain the transactions that were purchased including the unfinished transaction.


It is very bad practice to leave a receipt unfinished.

Thank you for your reply.



If the first purchase transaction fails,

Even if you have already received the receipt for the second purchase transaction

Can you restore first receipt?



If I say why I hear this,

The receipt is overwritten when the second purchase is completed,

Is it possible to restore the receipt of the first purchased item?

Accepted Answer

only consumable IAPs leave the receipt after their transaction is finished. All other transactions remain in the recipt forever.

you cannot 'restore' a receipt.

Please tell me how to restore receipt
 
 
Q