【實用購物app】in-app-billing Air Extension|最夯免費app

【實用購物app】in-app-billing Air Extension|最夯免費app

分享好友

【免費購物App】in-app-billing Air Extension-APP點子

This is a demo of how in-app billing extension works in Air apps. using this extension is very easy for an Air developer. download it and check out the buttons. it will initialize the extension and show you how the extension will work in your app.

we have also built a refund method for the extension which you can use optionally and it will let your users fill in a little form and submit it! you will receive an email with the request of your client wanting to refund a specific in-app product.

use it like this:

// initialize it first

_ex = new Google(onInitSuccess, onInitFailed, "PublicKey", true);

// continue with it on a successfull initialization

function onInitSuccess():void

{

// add listeners for the in-app-billing

_ex.addEventListener(GoogleEvent.PURCHASE_STATE_CHANGED, onPurchaseStateChanged);

_ex.addEventListener(GoogleEvent.REQUEST_PURCHASE_RESPONSE, onPurchaseRequestResponse);

_ex.addEventListener(GoogleEvent.REFUND_WINDOW, onRefundWindow);

_ex.addEventListener(GoogleEvent.ERROR, onERROR);

_ex.addEventListener(GoogleEvent.RESULT_OK, onResultOk);

_ex.addEventListener(GoogleEvent.RESULT_USER_CANCELED, onResultUserCanceled);

【免費購物App】in-app-billing Air Extension-APP點子

_ex.addEventListener(GoogleEvent.RESULT_SERVICE_UNAVAILABLE, onResultServiceUnavailable);

_ex.addEventListener(GoogleEvent.RESULT_BILLING_UNAVAILABLE, onResultBillingUnavailable);

_ex.addEventListener(GoogleEvent.RESULT_ITEM_UNAVAILABLE, onResultItemUnavailable);

_ex.addEventListener(GoogleEvent.RESULT_DEVELOPER_ERROR, onResultDeveloperError);

_ex.addEventListener(GoogleEvent.RESULT_ERROR, onResultError);

// request a Fake purchase for developing purpose!

_ex.requestPurchase(Google.FAKE_PURCHASE, "");

// open the refund dialog!

_ex.requestRefund("http://site.com/refund/", "itemId", "itemOrder");

}

there are many other methods for you to work with the extension.

【免費購物App】in-app-billing Air Extension-APP點子

please read here: http://myappsnippet.com/in-app-billing-adobe-air-native-extension-refund-manager/

免費玩in-app-billing Air Extension APP玩免費

免費玩in-app-billing Air Extension App

in-app-billing Air Extension APP LOGO

in-app-billing Air Extension LOGO-APP點子

in-app-billing Air Extension APP QRCode

in-app-billing Air Extension QRCode-APP點子
熱門國家系統支援版本費用APP評分上架日期更新日期
未知Android
Google Play
1.1
App下載
免費
1970-01-012015-04-23
分享app
上一個APP
下一個APP

高評價購物App推薦

LensGo

В приложении магазина Lensgo.ru подобраны линзы для глаз на любой вкус. Здесь вы найдете цветные контактные линзы по привлекательным ценам, косметичес …
vendo

Start to enjoy selling and buying on campus.vendo is the app for selling and buying stuff on your campus! Subscribe now to stay tuned about vendo and …