use in-app purchases plugins for local app market

Hi dear Corona team and users

I want to publish my app on an android market in my country and China.
this market uses the google IN-APP BILLING VERSION 3 to provide in- app  purchases for developers .however they changed 3 lines
of TrivialDrive example code for this purpose that the app connect to their server against google play .
these changes are as follows:

1) in _ AndroidManifest.xml _

<uses-permission android:name=“com.android.vending.BILLING”/>
changed to
<uses-permission android:name=“com.farsitel.bazaar.permission.PAY_THROUGH_BAZAAR”/>

2,3) in IabHelper class

Intent serviceIntent = new Intent(“com.android.vending.billing.InAppBillingService.BIND”);
serviceIntent.setPackage(“com.android.vending”);
changed to
Intent serviceIntent = new Intent(“ir.cafebazaar.pardakht.InAppBillingService.BIND”);
  serviceIntent.setPackage(“com.farsitel.bazaar”);

With these explanation !; how can i use corona  IAP plugins to implement and adapting with this changes ?

 

hi amir :slight_smile:

you should use corona enterprise, you cannot do that in corona sdk

hi amir :slight_smile:

you should use corona enterprise, you cannot do that in corona sdk