HomeНаука и техникаRelated VideosMore From: Delaroy Studios

Integrating Google Play In App Billing into an Android App Live Test

279 ratings | 70342 views
This is the concluding episode of integrating google play In-App Billing into an Android App, this time with the live Test and also pushing the application from the google developer console to the google play store with the in-app purchases configured. A most watch for developers that want to monetized or become a google application merchant. Get the source code here https://github.com/delaroy/InAppBilling Donate: https://www.paypal.me/delaroystudios
Html code for embedding videos on your blog
Text Comments (63)
Simone Biliato (1 month ago)
I successfully followe your tutorial and tried to do an effective payment using my personal google account. The payment was successful but I didn't receive the money. Is there something missing?
Raghuchandra H C (1 month ago)
i have a request, how to get the details of inapp purchase or how to verify that the user has bought the inapp purchase example: if [email protected] have bought inapp purchase named "remove.ads" purchase then how to check whether [email protected] have bought this purchase or not please reply
chibueze oti (1 month ago)
Nice but incomplete. The code is section was not covered
afe manager (1 month ago)
where the money goes to if we buy the product? the CC registered? can we change the CC?
M Ahmed Mushtaq (2 months ago)
Ruud Thijssen (2 months ago)
Hello, great video, but WHAT am I buying ? I please want to know how to activate an option of the app.
Delaroy Studios (2 months ago)
get in touch with me on [email protected] for more insight
Jaypee Brothers (5 months ago)
Android In-app billing: Payment Success But onProductPurchased is not called second time it calls
Jaypee Brothers (5 months ago)
how to make in-app billing one time in android code
Jaypee Brothers (5 months ago)
I am currently testing In-App Billing for a future app, and after I successfully "bought" the test item and again login login he's saying again buy this product.
Laxman parlapelly (6 months ago)
Excellent video btw im confused about where the amount is credited or stored .. when users purchase our product where the money is saved?
Delaroy Studios (5 months ago)
The money gets saved to you google merchant account
عدنان العلو (6 months ago)
Thank you man you are the best
mohamed gomaa (7 months ago)
Many Thanks :D
The Nigerian (8 months ago)
Hello sir, can I speak with you . +23408103228185 I will be grateful if you say hi on whatsapp
Rozek Enhance (10 months ago)
If you want to implement ads from any network or IAPs into your project in a matter of minutes, check out how Enhance can help you! Implement & update multiple SDKs in a few simple steps with Enhance : https://goo.gl/vv56Qm
Site Valley (11 months ago)
I am geting this message. IabHelper: In-app billing error: Unable to buy item, Error response: 7:Item Already Owned but my item is reusable. Any user can buy it multiple times. How to implement it?
Site Valley (11 months ago)
Delaroy Studios is there anyway to implement it in same code? Like Consume(); for purchased item?
Delaroy Studios (11 months ago)
check out this video https://www.youtube.com/watch?v=nkze5-eDInQ
Akash Kumar (1 year ago)
how to secure inApp billing code from reverse engineering, I mean to secure APK.
An_Arj _Art (1 year ago)
Hi sir... Please watch this video https://youtu.be/b5hzZN8bXa4 And how to ad remove ads button in android apps.. please make a video ...Thanks
Neka Ngia (1 year ago)
Nice tutorial, what if I don't want to use credit/debit card but airtime in the device(SIM)?
Delaroy Studios (1 year ago)
none for now, I would be on the look
Neka Ngia (1 year ago)
Do you know of a plugin you can recommend?
Delaroy Studios (1 year ago)
Not supported for Google in App billing yet
Josiah Umezurike (1 year ago)
Bros thanks for the video... I will love to work with you and send those dollar to Naija instead of other places.
Delaroy Studios (1 year ago)
Smile! Thanks
pallav bohara (1 year ago)
hello, We have to hardcode product id in apk. But there is a pre requiste to upload apk to create Product on Google Console. How's that possible?
Eyüp Akkaya (1 year ago)
Hello there, I'm working on a subscription, but the user does not get back when I turn it off and buy it when I open the app. QueryInventoryFinishedListener I check in this class but I can not get the results? Where do I need to check
Ah med (1 year ago)
Dear sir, Very good video. Click me button is not enabled after the payment is successful. Kindly guide.
Village Victory (1 year ago)
hello you just gave demo,we need some advanced like how to add the extra tabs or adfree processes through in app billing.and thanks for the above video.
Delaroy Studios (1 year ago)
contact for customization
Mostafa Monawar (1 year ago)
what is "mypurchasetoken"?? Will I get it from developer consol??
Delaroy Studios (1 year ago)
No this is generated or you can specify yours. You only get the button click id from google play developer console
Vijendra Patidar (1 year ago)
Thank you..
Theme For Launcher (1 year ago)
It is an excellent tutorial. But I have a problem. I published Alpha version. And Bought the application. Then deleted it. And again set. And billing suggests me to buy internal purchase again. How to make implementation of a code that if I bought once, then more I don't need to buy. Thanks
Delaroy Studios (1 year ago)
Pls contact me on [email protected] to explain more better on your need
Many Thanks :D
Terry Markle (1 year ago)
Hi Delaroy, Thanks for your presentation. It was helpful. I would like to have 2 in-app products to offer my app users. 1. Can you explain how the InAppBillingActivity.java class should be modified to enable 2 separate in-app products to be set up? 2. In addition, what change needs to be done to the activity_in_app_billing.xml layout file?
Delaroy Studios (1 year ago)
Just the same process just that you have to create the two in app billing mode in the google play developer console of the particular app in question and generate the button click ID uniquely for the two in-app product
Abdul Mujib Aliu (1 year ago)
Bro, I dey feeeel you like anyhow, God bless you, I know you be omo naija BTW 🙌🏿🙌🏿
Hürol Inci (2 years ago)
Thank you very much.
ARN DNA (2 years ago)
HI Can you do a video on in-app purchase to remove ads? Thanks!
Robin Gatchalian (1 year ago)
do you know how to do it on intel xdk? im using a plugin
Adam Chapman (2 years ago)
e-mail me [email protected], i can explain a little but i need to see how you set up your ads in code, i can then possibly help if you still require it.
ARN DNA (2 years ago)
Hi, any updates on this?
ARN DNA (2 years ago)
Nope. I meant to use in-app purchase option in the app to remove advertisements. Most of the freemium app theses days offer option to remove advertisements for a small price. I just don't know how to implement it. I found this page on the internet: http://www.tutorialsface.com/2016/05/implementing-remove-ads-in-app-purchases-in-android-tutorial-example/  which walks through the process. But I think the are not using Android Studio. Perhaps Eclipse. By following the instructions on the above mentioned page I couldn't make it work (new to Android Studio) I love your tutorials and its very informative and obviously your are experienced person. If you could create a tutorial about this in Android Studio it would be so great and helpful for many others like me! Thanks Again! Andes
Delaroy Studios (2 years ago)
i don't get you do you mean to ads integration
silvestru gh murgu (2 years ago)
Sheiko Workout (2 years ago)
Would it be possible to contact you about a problem I'm having somewhere? I've been trying to implement in app billing for 2 days and can't seem to get it working.. love your tutorials.. it seems Im getting an NPE error when clicking button to open purchase.. anywhere we can chat so you can view code see if theres any errors? Thanks!
Delaroy Studios (2 years ago)
get in touch with me on [email protected]
Sheiko Workout (2 years ago)
If you're on stack exchange, heres my most recent question posted: http://stackoverflow.com/questions/38978235/android-in-app-purchases-problems Thanks again
Dan Kardell (2 years ago)
How do you test this? So you have to submit a production level version in order to add in-app items to the dashboard? Is there not a testing sand box that you try this out before you submit a production APK which in turn would then be short lived as the code you add and test after creating items. This seems backwards? Also when did you add the base64 key?
M Ahmed Mushtaq (2 months ago)
https://youtu.be/dusNpcOiTb8 watch this,its bst
Delaroy Studios (2 years ago)
Watch the first part of the Integrating GooglePlay In-App Billing Video I explained the dummy test the second part explain in details of the Live test
Dan Kardell (2 years ago)
So how do you set up the Fake Payment to test it out?
Delaroy Studios (2 years ago)
yea there is a testing platform which displayed the Fake Payment Card with some dummy content, that's to virtually confirm if your integration works. For one to have a live in-app billing integration definitely the apk must be pushed to production to get that working fully
nenad stojanovic (2 years ago)
Excellent video, but I have one question tho. What if I have like 50 products in my in-app store, do I need to create 50 different in app Products with different ID-s or just to create them for those which have different prices? Thanks! :)
Best Apps (2 years ago)
thank you lot
Delaroy Studios (2 years ago)
you are welcome
Trieu Tran (2 years ago)
Great video. Thanks. I have one question tho. In the TrivialDrive example from Google, there was an implementation of the BroadcastReceive, I see that you don't have it here; do you actually need it for an actual app?
Delaroy Studios (2 years ago)
You don't need a broadcast receiver to make this work

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.