Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sandbox trying to restore consumable IAP

I've been trying to test some consumable IAP on iOS, and I'm getting a strange error. An alert pops up with the text:

"This In-App Purchase has already been bought. It will be restored for free. [Environment: Sandbox]"

I have checked, and I'm certain that my IAP is consumable in iTunesConnect. It seems that my validation process is somehow failing, but I wouldn't expect this error message. Does anyone have any experience with this?

like image 580
GoldenJoe Avatar asked Mar 24 '15 23:03

GoldenJoe


1 Answers

I'm not sure if this is the correct action, but calling:

[[SKPaymentQueue defaultQueue] finishTransaction: transaction];

on the repeating transaction cleared them out. I suspect that I never called it in the success case due to stopping in the debugger or something.

like image 197
GoldenJoe Avatar answered Sep 28 '22 06:09

GoldenJoe