M Marcob Member Licensed User Longtime User Jul 7, 2023 #1 Hello, I tried to run the example for the in-app purchased shown here but pressing the button "Remove Ads" only opens a blank panel. Has Google changed something in the meantime or am I missing something? Last edited: Jul 8, 2023
Hello, I tried to run the example for the in-app purchased shown here but pressing the button "Remove Ads" only opens a blank panel. Has Google changed something in the meantime or am I missing something?
DonManfred Expert Licensed User Longtime User Jul 7, 2023 #2 To less informations Are you starting a subscription or a single payment? - Subscriptions require a different method to start the billing flow: https://www.b4x.com/android/forum/t...-due-to-google-restriction.142524/post-903185 Click to expand... Upvote 0
To less informations Are you starting a subscription or a single payment? - Subscriptions require a different method to start the billing flow: https://www.b4x.com/android/forum/t...-due-to-google-restriction.142524/post-903185 Click to expand...
M Marcob Member Licensed User Longtime User Jul 7, 2023 #3 I just ran the given example as-is, I haven't made any changes Last edited: Jul 7, 2023 Upvote 0
DonManfred Expert Licensed User Longtime User Jul 7, 2023 #4 Marcob said: I haven't made any changes Click to expand... Public const BILLING_KEY As String = "3434ABCDEF..." Click to expand... This must be updated!? Upvote 0
Marcob said: I haven't made any changes Click to expand... Public const BILLING_KEY As String = "3434ABCDEF..." Click to expand... This must be updated!?
M Marcob Member Licensed User Longtime User Jul 7, 2023 #5 I'm not sure, I thought that using "android.test.purchased" was a special ID offered by Google to test the service without any particular billing key requirement, but I could be wrong, does anyone have more experience with this? Upvote 0
I'm not sure, I thought that using "android.test.purchased" was a special ID offered by Google to test the service without any particular billing key requirement, but I could be wrong, does anyone have more experience with this?
DonManfred Expert Licensed User Longtime User Jul 7, 2023 #6 I guess a lot of people are using inapppurchases. If there would be a problem more threads would be opened with this issue. I do not remember any such thread lately honestly. I´m not using it so i can not further help. But i expect it should work when correctly used. Upvote 0
I guess a lot of people are using inapppurchases. If there would be a problem more threads would be opened with this issue. I do not remember any such thread lately honestly. I´m not using it so i can not further help. But i expect it should work when correctly used.
aeric Expert Licensed User Longtime User Jul 7, 2023 #7 Marcob said: I'm not sure, I thought that using "android.test.purchased" was a special ID offered by Google to test the service without any particular billing key requirement, but I could be wrong, does anyone have more experience with this? Click to expand... Do not assume. Imagine you and I build 2 different apps with the same inAppProduct id, when I set the product as consumed, does your app also show the same? Sure you need a special unique key to identify the different app. Upvote 0
Marcob said: I'm not sure, I thought that using "android.test.purchased" was a special ID offered by Google to test the service without any particular billing key requirement, but I could be wrong, does anyone have more experience with this? Click to expand... Do not assume. Imagine you and I build 2 different apps with the same inAppProduct id, when I set the product as consumed, does your app also show the same? Sure you need a special unique key to identify the different app.
M Marcob Member Licensed User Longtime User Jul 7, 2023 #8 aeric said: Do not assume. Imagine you and I build 2 different apps with the same inAppProduct id, when I set the product as consumed, does your app also show the same? Sure you need a special unique key to identify the different app. Click to expand... Does this mean that in order to use BillingExample app I have to upload it to the Google console and get a proper license key? Upvote 0
aeric said: Do not assume. Imagine you and I build 2 different apps with the same inAppProduct id, when I set the product as consumed, does your app also show the same? Sure you need a special unique key to identify the different app. Click to expand... Does this mean that in order to use BillingExample app I have to upload it to the Google console and get a proper license key?
DonManfred Expert Licensed User Longtime User Jul 7, 2023 #9 Marcob said: Does this mean that in order to use BillingExample app I have to upload it to the Google console and get a proper license key? Click to expand... I´m not sure but probaly yes. InApp-Billing is based on GooglePlay-Services. You need to configure InAppPurchases in the googleConsole. So, i guess yes, you need to have your app in GooglePlay. Incl. having a Developeraccount and a proper key. Google does not want you to sell your product on other ways. Upvote 0
Marcob said: Does this mean that in order to use BillingExample app I have to upload it to the Google console and get a proper license key? Click to expand... I´m not sure but probaly yes. InApp-Billing is based on GooglePlay-Services. You need to configure InAppPurchases in the googleConsole. So, i guess yes, you need to have your app in GooglePlay. Incl. having a Developeraccount and a proper key. Google does not want you to sell your product on other ways.
M Marcob Member Licensed User Longtime User Jul 7, 2023 #10 I guess you are right, doing further research I came across this post and actually it seems like it's not that simple, I'll have to look into it further Upvote 0
I guess you are right, doing further research I came across this post and actually it seems like it's not that simple, I'll have to look into it further
Andrew (Digitwell) Well-Known Member Licensed User Longtime User Jul 7, 2023 #11 Yes, billing is difficult to get working which is why I created the post you are referring to. You get the billing Key from the Monetisation setup page in the play store app page. It is the long value in the licensing section Upvote 0
Yes, billing is difficult to get working which is why I created the post you are referring to. You get the billing Key from the Monetisation setup page in the play store app page. It is the long value in the licensing section
M Marcob Member Licensed User Longtime User Jul 7, 2023 #12 Andrew, I think your tutorial will help a lot. It was an excellent initiative to write it, thank you very much! Upvote 0
Andrew, I think your tutorial will help a lot. It was an excellent initiative to write it, thank you very much!