Open hooliapps opened 1 month ago
Hello
I'm tring to test In App Purchases update with TestFlight with 1 iphone and 1 ipad (same email icloud).
On iPhone (OK)
On the ipad (not ok)
Do you know please if this problem can be due to TestFlight ? Or plugin ?
Code:
function initStore() { storeUrl = iapFoveaValidator; CdvPurchase.store.validator = storeUrl; CdvPurchase.store.register([{.... products CdvPurchase.store.ready(function() { console.log('CdvPurchase.store.ready()'); }); }
CdvPurchase.store.when().approved(function(transaction) { console.log('CdvPurchase.store.when().approved(transaction)'); if (isIOS) { if (transaction.products && transaction.products[0] && transaction.products[0].id === '%THEID%') { transaction.finish(); return; } if (transaction.state === 'approved') { transaction.verify(); } } else { transaction.verify(); } });
function storeRestorePurchases() { CdvPurchase.store.restorePurchases(); }
Hello
I'm tring to test In App Purchases update with TestFlight with 1 iphone and 1 ipad (same email icloud).
On iPhone (OK)
On the ipad (not ok)
Do you know please if this problem can be due to TestFlight ? Or plugin ?
Code:
function initStore() { storeUrl = iapFoveaValidator; CdvPurchase.store.validator = storeUrl; CdvPurchase.store.register([{.... products CdvPurchase.store.ready(function() { console.log('CdvPurchase.store.ready()'); }); }
function storeRestorePurchases() { CdvPurchase.store.restorePurchases(); }