I have been trying to implement in-app purchase, following guidelines in https://www.b4x.com/android/forum/threads/googleplaybilling-in-app-purchases.109945/#content
I have copied all the necessary class from the example project, and set my app with the ID and key (key shortened here to keep legibility).
The app has been added as in-app purchases in the Play Store:
When I do a test buy while logged with my developer account, I get the test buy dialog:
Now, when I use my buyer account, I get either "This version of the application is not configured for billing through Google Play", or "The item you requested is not available for purchase".
I have read and read again these:
I don't know what to do. I am probably thick, and am sorry, but I am at a loss, here.
Any help will be most appreciated.
I have copied all the necessary class from the example project, and set my app with the ID and key (key shortened here to keep legibility).
B4X:
'--- Billing ---
Public billing As BillingClient
Public AdsRemoved As Boolean
Public const ADS_SDK_ID As String = "com.bujardet.checkprinter" '"android.test.purchased"
Public const BILLING_KEY As String = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlEHo5et/XIqI6r69unK8GAjl.../..."
Public billing As BillingClient
Public InAppSupported As Boolean
The app has been added as in-app purchases in the Play Store:
When I do a test buy while logged with my developer account, I get the test buy dialog:
Now, when I use my buyer account, I get either "This version of the application is not configured for billing through Google Play", or "The item you requested is not available for purchase".
I have read and read again these:
Create an in-app product - Play Console Help
Using Google Play's billing system, you can offer in-app products that charge users on a one-time basis. In-app products can include items like virtual goods (for example, game levels
support.google.com
I don't know what to do. I am probably thick, and am sorry, but I am at a loss, here.
Any help will be most appreciated.