- Home /
Problem with Prime31's StoreKit implementation
Hi everybody,
I'm encountering a strange issue with inapp purchases on iOS.
The implementation is Prime31's StoreKit plugin for Unity.
Everything is working fine apparently: product list is retrieved ok after purchase request all apropriate callbacks are called.
The problem is like this: i purchase a product, everything is ok. i try to buy another product (immediately or after a while), the purchase is failing with error "Cannot connect to iTunes store" (no system dialog, only the callback). After this fail, it will come a success, then a fail, and so on. Even stranger, if i cancel a purchase, the rule is "broken": the following 5-6 purchases will be ok, but then they will start to fail. It sounds like a programming issue, but all i'm calling is purchaseProduct: i mean that i don't control the purchase flow. The system's dialogs appear (so the data sent is ok), but fails after i press "buy".
Thanks in advance