Callback calls inside the listener methods [onQueryInventoryFinished] are not getting executed. I am doing something like what is been given in the example . Could you please guide me through.
function successInit(result) {
// display the extracted text
alert(result);
// make the purchase
inappbilling.buy(successPurchase, errorCallback,"gas");
}
function errorCallback(error) {
alert(error);
}
function successPurchase(productId) {
alert("Your item has been purchased!");
}
The callback calls inside "execute" method are working properly. I am not sure if this is a problem with the latest phonegap version.
phone gap version : 3.3.0-0.18.0
Callback calls inside the listener methods [onQueryInventoryFinished] are not getting executed. I am doing something like what is been given in the example . Could you please guide me through.
inappbilling.init(successInit,errorCallback, {showLog:true})
function successInit(result) {
// display the extracted text
alert(result); // make the purchase inappbilling.buy(successPurchase, errorCallback,"gas");
}
function errorCallback(error) { alert(error); }
function successPurchase(productId) { alert("Your item has been purchased!");
}
The callback calls inside "execute" method are working properly. I am not sure if this is a problem with the latest phonegap version.