Category : billing

I’m building my Android application with Unity 2019.4.13f1 which usually runs fine, but now I’m getting the following error message when trying to build: More than one file was found with OS independent path ‘billing.properties’ I’ve tried deleting the .aar files in my Assets/Plugins/Android/ and running External Depency Manager/Android/Force Resolve, but I can’t find the ..

Read more

I am following this guide. https://developer.android.com/google/play/billing/integrate my build.gradle looks like this: dependencies { implementation fileTree(dir: ‘libs’, include: [‘*.jar’]) implementation "com.android.support:appcompat-v7:28.0.0" implementation "androidx.constraintlayout:constraintlayout:2.0.4" implementation "com.google.android.gms:play-services-ads:19.6.0" implementation "com.android.billingclient:billing:3.0.0" androidTestImplementation "com.android.support.test:runner:1.0.2" androidTestImplementation "com.android.support.test.espresso:espresso-core:3.0.2" } The Java code in Android Studios 4 does not have recommended imports for BillingClient If I try this: import android.billingclient … "billingclient" shows up ..

Read more

I was implementing in-app purchases in my project and ran into a problem. When i testing my app it always can’t fount subscription. But there is subscription in Play Console. I have 1 subscription with true ID. Here is my code: private var billingClient: BillingClient? = null onPurchaseUpdate: override fun onPurchasesUpdated(billingResult: BillingResult, purchases: MutableList<Purchase>?) { ..

Read more

I had been using the AIDL IabHelper classes for billing subscriptions in my app for years. Now, even though I have implemented the Google Play Billing Library 3.0 in the production .apk, I am still getting this warning in the Google Play Console. Any suggestions? implementation ‘com.android.billingclient:billing:3.0.0’ Resubscribe is not currently available for your users ..

Read more

I am trying to migrate from android billing version 2 to 3. In my project I have multiple lines like that: BillingHelper.logWarn(TAG, "Purchase verification failed: missing data."); But after migrating to billing:3.0.0 I got messages like "Cannot resolve symbol ‘BillingHelper" So, my question is – what’s happened to BillingHelper class in billing 3.0??? And what ..

Read more