I accidentally marked this as "solved" while it is not
Post
Replies
Boosts
Views
Activity
I still don't understand. In the code above, I try to deliver consumable product before I call transaction.finish(). I'm testing for Ask to Buy and I'm not calling transaction.finish() before the transaction approval.
I found a blog post similar to this problem: https://iosexample.com/implementing-and-testing-in-app-purchases-with-storekit2-in-xcode-13-swift-5-5-and-ios-15/
It says "In tests I've done transactions for consumables do not remain in the receipt, even if you omit to call finish()."
Thank you so much! I didn't notice the document had changed. Transaction.unfinished worked!