Thanks for the reply, But both IAP_VARIANTID.txt and TEST_MODE.txt are present in my res folder. Please also note that if i user getproductdata() then in the call back i am getting error code -16....