I’m not getting any event response after store.purchase(“my_sku”) is called. I’m not getting any errors or anything. It’s just waiting for the event response.
I’m testing this on Kindle Fire (original) with:
AmazonSDKTester installed
amazon.sdktester.json installed
I do the following in main.lua
store.init( transactionCallback ) print("The currently logged in user is: ", store.getUserId()) store.restore() if store.canLoadProducts == true then store.loadProducts( myProductTable, loadProductsCallback ) end
The #event.products upon loadProductsCallback is 12, and it lists out all the IAP products. I have a print statement to indicate that store.purchase(“my_sku”) is being called, and “my_sku” matches with what I want to purchase.
The my_sku is formatted like this: com.mycompany.mygame.product1
My store.purchase function works fine with iOS IAP as well as GooglePlay In-App Billing. I just don’t understand why I’m not getting any event response. Any idea why? I’m totally stumped and don’t know what I should do.
Naomi