[OUTDATED] [Free] InAppBilling V5.0.0 - Sell your digital product from your android application

{BD3D0296-B095-4D5E-9FB2-A2C6885286F9}.png


when click Empoy_5 Button , nothing happen

{D4EDA0BC-E1B5-4EE7-8916-D69CCED753EC}.png

{75E464B1-51D2-4235-BDCE-6E819B9465A4}.png

1 Like

Is your product id employs_5 or 5_employs ??

LaunchPurchaseFlow opens the billing pop-up . Can you check the response code if it is failed to launch the purchase flow ?

2 Likes

5_employs
I just copy it from google play console and past it in text block

sblocks

Do you mean in campanion or after downloading from google play?

1 Like

No,nothing happens

1 Like

I was trying to make a subscription using the extension but the extension is used for products, not for subscriptions.
I will try the edited extension you sent to me and report you. thank you @oseamiya for your efforts

2 Likes

Hello, I have a question, I made a project where I can sell and release the product, without any problem, but I can’t make it load the user’s purchases, so as soon as the user leaves the screen or closes the app, he has to do the buy again. Could someone help me, I’ve already downloaded the available aia and it’s the same way.

always check the purchased products before doing anything in your app
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select “Download Blocks as Image”. You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun

2 Likes

Extension is updated to version 2.

Changes :

  1. New method AutoAcknowledge & Test is added. They are available in designer property as well.

    image
    If AutoAcknowledge is enabled then After you sucessfully got purchase, you no need to handle purchase manually. It will automatically handle purchase as Non-Consumable ie same product cant be bought again.
    If test is enabled then productId android.test.purchased is used everytime.

  2. Added skuType in LaunchPurchaseFlow method that will open a door to buy subscription too.

    component_method

  3. Added more parameters in GotPurchasesHistory event block. Now you can get lists of productIds, orderIds & original Jsons.

    component_event325x85

Documentation has been updated in community aswell as in getaix. You can find changes in source code from Github commits.
:slight_smile:

5 Likes

Just One Word Awesome And Second Most Usefull Extension For Me

My In App Purchase Working Excellent

3 Likes

Can Anyone Tell Me

How Much Percent % Does Google Play Deduct On Selling Each Products ?

For Me Its 30% But Somewhere I Have Read That Its 15% But Why 30% For Me

See More …

3 Likes

Ooh Thanks

It Will Start From 1st jan 2022

1 Like

I am not able to generate apk with this extension.
When I delete the extension then apk generates with no errors.
Am i doing something wrong??

Are you getting any error while compiling the application ?/

wait i’ll share

Also, Can you share the image of your blocks ?
If you don’t want to share here in public then you can message me !

Kodular is unable to compile this project.
The compiler error output was
________Preparing application icon
________Creating animation xml
________Creating fragment xml
________Creating listview xml in res/layout/…
________Creating listview xml in res/layout-v21/…
________Creating xml in res/drawable/…
________Creating splash png in res/drawable/…
________Creating colors xml
________Creating styles xml
________Creating drawables xml v21
________Checking for firebase
________Creating provider_path xml
________Creating network_security_config xml
________Generating adaptive icon file
________Generating round adaptive icon file
________Generating adaptive icon background file
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT time: 1.724 seconds
________Compiling source files
(compiling io/kodular/adityadevalalikar/UPSCPYQ/Screen1.yail to io.kodular.adityadevalalikar.UPSCPYQ.Screen1)
(compiling /tmp/runtime2893582573540464535.scm to com.google.youngandroid.runtime)
Kawa compile time: 24.526 seconds
________Invoking DX
DX time: 7.992 seconds
________Invoking ApkBuilder
com.android.sdklib.build.ApkCreationException: Failed to add /tmp/1637839661551_0.6578788264995769-0/youngandroidproject/…/build/tmp/classes3.dex
YAIL compiler - ApkBuilder failed.
.

Can you check with first version of this extension ?
Here is the download link from github : https://github.com/oseamiya/InAppBilling/releases/download/1.0.0/com.oseamiya.inappbilling.aix

actually i followed the in app billing guide from one post.
But i could not generate apk, so i deleted the extension. and then i was able to generate the apk.

So now i do not any blocks for the extension for now.
I just tried including the extension in app and generating the apk without blocks and could not generate the apk.
I tried this 3-4 times.
Everytime after deleting the extension the apk generates without any errors

Did you tested with this version of the extension ?