IAP Invalid SKU - But Successful PurchaseResponseUpdates
Hello I am having trouble testing the IAP in my app. I am following the example SampleIAPEntitlementsApp. I have the json file loaded into the correct place on my Samsung Galaxy. I have the "Developer Options/Protect SD Card" unchecked. I have done everything that is supposed to be done, I think. But I am still getting an invalid SKU. The odd part is that the [i]onPurchaseUpdatesResponse [/i]event in the [i]AppPurchasingObserver [/i]shows a "SUCCESS" return value. But the [i]onItemDataResponseFailed[/i] event in my activity is then called. And when I try to initiate [i]PurchasingManager.initiatePurchaseRequest(m_SKU);[/i] it fails with an INVALID_SKU. Here is a screenshot:
http://www.newvisionit.com/images/amazon_iap_success.png Any suggestions? Thanks
FYI: There seems to be several folders in the Android system that have the same name. It turns out that I had the amazon.sdktester.json file in the wrong location. Once I put it into the correct folder on the phone, IAP testing works.
FYI: I was unable to see the Amazon SDK debugging info in eclipse. But I eventually found the path to the Amazon SDK Tester log files. I don't recall seeing this listed anywhere in the documentation, so I thought it might help others. When my phone is connected to my Windows laptop, the path is this: Computer\SGH-I747M\Phone\amazon_sdktester Screenshot: