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
シェア記事: