Hello!
My cross-platform (iOS and Android) application includes one in-app purchase.
The algorithm is as follows:
1. Performing initialization when start the application:
if store.target == “apple” then
store.init( “apple”, transactionListener)
elseif store.target == “google” then
store.init( “google”, transactionListener )
restoring = true
timer.performWithDelay( 1000, restore() )
else
print(“In-app purchases are not supported on this system/device.”)
end
2. When you click «Buy» the purchase is made, but **transactionCallback** returns no status.
3. As the status is not returned, I am not able to remove the ad from application
4. If you click «Buy» again, Google says: «You already have this application» and **transactionCallback** returns the status «failed»
5. If there is no internet connection when clicking «Buy», status «failed» also returns.
6. Option store.restore()
does not work at all!
All of the above works fine on iOS!!!
What is the problem?