jpPlayStore

jpPlayStore

In-app purchase for Play Store
Version : 1.0
Price : $50
State : Outandroid

Downloads

API

jpPlayStore.activate ( sUserToken, sActivationKey ) jpPlayStore.start ( sBase64EncodedPublicKey ) "onPlayStoreSetupSucceed" ( ) "onPlayStoreSetupFailed" ( sError ) jpPlayStore.addProduct ( sProductIdentifier, bIsConsumable ) jpPlayStore.requestProductsData ( ) "onPlayStoreRequestFailed" ( sError ) "onPlayStoreRequestDidEnd" ( ) "onPlayStoreInvalidProductReceived" ( sProductIdentifier ) "onPlayStoreProductReceived" ( sProductIdentifier ) sTitle = jpPlayStore.getProductLocalizedTitle ( sProductIdentifier ) sLocalizedPrice = jpPlayStore.getProductLocalizedPrice ( sProductIdentifier ) tAvailableProducts = jpPlayStore.getAvailableProducts ( ) bYes = jpPlayStore.isProductDataAvailable ( sProductIdentifier ) --Transactions (you must request products data first) jpPlayStore.buyProduct ( sProductIdentifier ) "onPlayStoreBuyProductFailed" ( sProductIdentifier, sError ) "onPlayStoreProductPurchased" ( sProductIdentifier )

Description

jpPlayStore communicates with the Play Store on behalf of your application. Your application uses jpPlayStore to receive localized information from the App Store about products you want to offer in your application. Your application displays this information to users and allows them to purchase items. When a user wants to purchase an item, your app calls jpPlayStore to collect payment from the user.

Requirements

  • The jpEventQueue plugin is required (free)

Android requirements

  • permission: com.android.vending.BILLING