You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once I try to make a purchase I m getting "Error..something went wrong"
Any suggestions?
Also how I can get a confirmation about the purchase?
Thanks!
My code:
**import com.freshplanet.ane.AirInAppPurchase.InAppPurchase;
var ane:InAppPurchase;
var debug;
function initInApp():void{
if (!InAppPurchase.isSupported) {
tf.text = "InAppPurchase ANE is NOT supported on this platform!"
return;
}else{
tf.text = "InAppPurchase is supported!"
}
Thank for Ane!
Once I try to make a purchase I m getting "Error..something went wrong"
Any suggestions?
Also how I can get a confirmation about the purchase?
Thanks!
My code:
**import com.freshplanet.ane.AirInAppPurchase.InAppPurchase;
var ane:InAppPurchase;
var debug;
function initInApp():void{
if (!InAppPurchase.isSupported) {
tf.text = "InAppPurchase ANE is NOT supported on this platform!"
return;
}else{
tf.text = "InAppPurchase is supported!"
}
}
initInApp();
function makePurchase(e:MouseEvent):void{
var productId:String = "product_nr_1";
ane.makePurchase(productId);
}
nakup.addEventListener(MouseEvent.MOUSE_DOWN,makePurchase)**
The text was updated successfully, but these errors were encountered: