Well I think you should not make them the same then if each store is drastically different, this is the problem. I think it would make more sense to have each store as it’s own plugin so you can update it without breaking other stores sort of thing, almost like gameNetwork plugins. I don’t see why your plugins can’t deal with consuming/errors/already owned/auto restore/ etc out of the box. Surely lot’s people are implementing identical systems wrapped around the store plugin to handle payments, at the moment a lot of work is needed on top of the plugin to make fit for production.
One tried and QA tested system for everyone with only the need to pump product ids in and specify consume rules, I’ve spent days on getting the stores stable and there are issues I can not fix due to lack of callback responses for some obscure errors/situations not handled by the plugin. Doing this would vastly improve the plugin because you would find all the little things that are missing and it would become super solid.
So if you call restore() to apple servers will it return nothing when there are no purchases at all. You send the request and nothing responds at all, the call just times out?
I do appreciate the stuff you guys do, just recently I have found the store lacking in innovation…
Thanks for the feedback, I still think a timer is very amateur solution and I see this as solution for a lot of fixes that corona can’t solve, just make it return failed if possible. Are the apple servers silent when you request restore with not items, my guess is it returns something surely? If not then I apologise.
Thanks, Stu