Questions tagged [in-app-billing]
In-app Billing, a service provided by Android operating system.
2,602
questions
0
votes
0
answers
17
views
In-App Purchase Issue: Works with Test User, Not with External User in Open Testing: Android
I'm currently testing an Android application in an open testing phase, and I've encountered a perplexing issue with in-app purchases. When using a registered test user, the in-app purchases work ...
-1
votes
0
answers
25
views
Can't enter the custom promo code in Android Google Play Bill in App
The documentation states that a custom promo code can only be entered in the application. I have created a custom promo code 'MARK2023,' and it is active with the end date not yet passed. The user ...
0
votes
0
answers
17
views
What is the renew behavior on deactivated base plan in Android app auto-renew subscription?
In Google's document (actually, it is Play Console Help though), it is said that:
Deactivate or reactivate a base plan
You can deactivate a base plan to prevent new purchases. It does not affect any ...
0
votes
0
answers
27
views
Android subscription receipt validation logic for payment pending
I am trying to implement server side receipt validation for android subscriptions and I am having a hard time trying to understand how should receipts with payment state pending should be handled.
For ...
0
votes
0
answers
21
views
Android Billing. How to purchase multiple quantity of multiple items?
Do we have the possibility to purchase multiple different items with different quantity within a single purchase?
Sample:
item_sku_0
item_sku_1
item_sku_2
The user selects
item_sku_0 : qty: 3
...
0
votes
1
answer
70
views
The item that you were attempting to purchase could not be found
I have setup in app purchasing on Android and the Google Play Store. When I try to purchase the product from the Android app it returns this error: The item that you were attempting to purchase could ...
0
votes
1
answer
127
views
Android Studio - In App Purchase: billingclient problem
A few years ago I made a app for Android, but the project was deleted by a mistake. After now a few more years I decided to write it again. So I have came to the part where I want to add in app ...
0
votes
0
answers
47
views
Android Google In-app-purchases v6 restore purchases without custom server
I have implemented Google In-app-purchases v6+ library. The user is able to purchase non-consumable virtual item.
When the user re-installs the app or installs the app on the another device with the ...
0
votes
0
answers
28
views
Errors after upgrading android billing version to 6
Please help me to update code to new version of android billing.i quit this project but some users keep asking why its not available and woking. realised few updates are needed.upgrading to vrsion 6 ...
1
vote
0
answers
126
views
Android In-App Subscriptions: queryPurchasesAsync not Returning Subscription Details after Successful Payment
I'm encountering an issue with in-app subscriptions in my Android app. Some users are reporting that they are not receiving subscription benefits even after a successful payment. Upon investigating, I ...
0
votes
1
answer
16
views
Why does passing the purchaseId from in_app_purchase(flutter) to the androidPublisher API always throw 400 error?
The androidPublisher subscription APIs (for example the cancel subscription api) always throw a 400 error when I pass the purchaseId after a successful purchase in place of the token parameter. The ...
1
vote
1
answer
87
views
A member variable set before billingClient.launchBillingFlow is lost when PurchasesUpdatedListener callback is triggered
I'm initializing a member variable to null.
Later in the process, this member variable is assigned a value, before starting the payment flow, ie before invoking billingClient.launchBillingFlow(context,...
0
votes
1
answer
136
views
Google Play Billing V6 show error DF-DFERH-01
Hi I am integrating Google Play Billing Library on my project on a fragment in android studio to sell a subscription, I alrready make the set up in the Google Play Console uploading my app in internal ...
0
votes
1
answer
40
views
Price loading only when reopen the activity or when click on buy button
Prices are not shown to the user at first, need to reopen the activity several times to show the price or click on buy button.
billingClient = BillingClient.newBuilder(this)
.setListener(...
0
votes
2
answers
86
views
BillingClient and BillingClientWrapper - circular dependency injection
I have a situation where my BillingDataSource aka BillingClientWrapper needs a singleton BillingClient object, but creating the BillingClient object can't be completed without a listener that's in the ...
0
votes
1
answer
82
views
Android billing 6 enter in initiatePurchase function and do nothing after it
I'm new using Android billing. I'm implementing an activity with 4 consumable shopping options. So I have 4 buttons. When user clicks on any of them, the toast initiatedPurchase(productId: String) ...
0
votes
1
answer
120
views
queryProductDetailsAsync returns empty list in production version (Google Play Billing)
I'm facing an issue, queryProductDetailsAsync returns empty list in production version, But it's working well for internal testers.
I published the app and it was approved yesterday. Also the app is ...
0
votes
0
answers
268
views
Billing Client Not Ready for In App Billing
I knew i have added similar question before regrding the issue for not able to launch the paymentflow dialog , but here i have changed the code accrding to the IAB/IAP v6.01 , previous one was v4.0.0
...
0
votes
0
answers
67
views
Android billing client purchase SKU not getting
public class CreditBuyActivity extends AppCompatActivity implements PurchasesUpdatedListener {
ImageView creditArrowBack;
private BillingClient billingClient;
RelativeLayout relative1, relative2,...
1
vote
1
answer
188
views
How can I test how my in-app pricing looks like in other currencies?
I use Google Play Billing library for an in-app product.
When using my app, I always see my original pricing, in my country's currency. The price appears on the Google Play purchase popup, and where I ...
0
votes
0
answers
95
views
Issue with Loading In-App Purchase Dialog
I have recetly added iap in my app but dont know why im no getting any dialog i have followed this blog
https://programtown.com/how-to-make-in-app-purchase-in-android-using-google-play-billing-library/...
0
votes
1
answer
228
views
BillingClient is not connecting to Play Services using v6.0.1
I am implementing in app services using in app billing library v6.0.1. Strangely the Billing Client is not connecting to Play Services.
I have tested the following code in both release and debug ...
0
votes
0
answers
29
views
android inapp billing sku depreced
I am using the Google in-app purchase feature in my application.
Since I encountered the "setSkuDetails" deprecation error, I tried to update the codes, but unfortunately, I couldn't find a ...
0
votes
0
answers
23
views
How long does take for refunded purchase to become visible in the voidedpurchases.list?
Coming from this tutorial I'm trying to implement a check on my server, that will fetch voided purchases and remove them from database. But for some reason the most recent voided purchase returned by ...
0
votes
0
answers
81
views
you are not authorized to set the license key unity
How can I fix this error? The license key is correct, keystore is entered.
I entered the license key first in the project dashboard in the In-app purchase (IAP) settings field on the Project setting ...
0
votes
0
answers
71
views
Google Play billing 6.0 - Always return result code 4 with error
Trying to implement purchase flow using play billing lib on sample application
Following below steps:
Created App on play console
Added item in-app-purchase
Created signed sample application and ...
0
votes
1
answer
449
views
Replacement for SkuDetailsParams in Billing 6.0.1
I recently updated my Android app to use Billing Library version 6.0.1, and I noticed that SkuDetailsParams class is deprecated. I'm trying to find the new replacement or alternative for ...
0
votes
0
answers
95
views
Google Play Billing integration in Android project with Java - Room Database for Product IDs and Subscription Management
I'm working on an Android project written in Java, and I'm trying to integrate Google Play Billing. I want to achieve the following features:
Load product IDs from a Room database: On the splash ...
0
votes
0
answers
101
views
Billing API version is less than 3
I have recently logged some errors from in app billing to crashlytics, one of them:
Google Play In-app Billing API version is less than 3
The OS on the devices is Android 10,11,12,13 so the devices ...
1
vote
0
answers
95
views
Google play payment pop-up comes up completely blank and white
I am trying to get inApp billing testing in android. for this I
a-included a ready made library,
b- paid and become a member of Google play
c- uploaded my test app with the right app license_Key from ...
1
vote
0
answers
168
views
Stripe recurring subscription too expensive, is it better to create own custom implementation?
I'm looking into Stripe recurring subscriptions. As soon as you want recurring payments, Stripe Billing gets enabled and you need to pay and extra 0.5% cost on top of the other payment costs.
I don't ...
0
votes
0
answers
39
views
90% of my users payments are going to Payment Pending Status in google play
I am using the in-app-billing library from google for my in-app-subscriptions,most of my subscriptions after the trial ends remains in the payment pending status.what can I do?
I tried enabling ...
2
votes
1
answer
500
views
Google Billing crash my app because change screen mode to portrate
I have standard billing client with clear architecture, my billing clieant does not know about activity. I Send to billing client activity like a param on his method no more.
My app has screen mode = ...
1
vote
2
answers
1k
views
How to accurately retrieve the list of active subscriptions in Android billing library 6
I'm developing an Android app that utilizes in-app subscriptions using the Google Play Billing Library 6.0.0. My goal is to retrieve the list of active subscriptions and accurately determine their ...
0
votes
0
answers
93
views
Error when trying to implement Billing Client into my app
I'm delving into the world of Android app development, and I'm trying to implement Billing Client in my app, but I'm facing an issue.
I'm following the steps from the documentation provided by Android ...
0
votes
0
answers
87
views
Error: "Please provide a valid listener for purchases updates" Google Play Billing Library android
I'm implementing in my app the purchase of a subscription for the user through the Google Play Billing Library.
The problem is that I need to access the same BillingClient instance in two different ...
2
votes
2
answers
175
views
Android Play Store Subscription Billing doesn't trigger any action
I have successfully implemented the in-app purchase flow, now I am trying to switch to the subscription model but something is wrong in the makePurchase() method, it doesn't open the window for the ...
3
votes
2
answers
530
views
Using google new billing client with jetpack compose and inject activity
I am using google billing library v5 with jetpack compose.
in order to launch a billing flow, i need to pass the activity:
// Launch the billing flow
val billingResult = billingClient....
0
votes
0
answers
63
views
Playstore/Appstore Verify Purchase using a fuction in flutter
My app only has consumable and non-consumable in-app purchases (no subscriptions).
In order to verify a purchase is it ok to just store the token in the Firebase database and check if it exists as the ...
1
vote
0
answers
195
views
Handling Subscription Plan Selection in Google Play for a PWA App
I have the PWA app installed via the GooglePlay store. I use the following code in the app to create a subscription.
const paymentMethodData = [
{
supportedMethods: '...
0
votes
0
answers
30
views
IN-APP purchases rules for Google Play Store
I am developing an app with flutter for the Kenyan market. This app has the ability to make in-app purchases using the MPESA mobile money. It consumes the same API "My Safaricom" app uses. ...
0
votes
0
answers
26
views
How do I find what my customer paid for one of my subscriptions in the Google Play Store?
In the previous (ie V1) version of the Google billing app, the Developer Network API gave me the price paid for a subscription purchased. V2 doesn't do that.
It looks like, once I receive the ...
0
votes
0
answers
36
views
Android inApp purchase always shows Code 7 Already Owned
Using Android Studio Electric Eel. Implementing billing Library 5.0. Gradle Version 7.1 Android Gradle Plugin Version 7.0.4.
Have been trying to get this to work for several days in several ways ...
0
votes
0
answers
37
views
billing5 queryPurchasesAsync can not get same result across multiple devices
I logged into the same Google account on Google Play on Android devices A and B, and then purchased a ProductType.INAPP item on device A without calling consumeAsync(). Why can't I find this order ...
0
votes
0
answers
24
views
Getting "RestoreFailed" InAppBilling error in xamarin iOS project
Our app being rejected by the app store when we submitting to the app review. They responded back with an error "RestoreFailed". We tried multiple times submitting the app to the review but, ...
1
vote
2
answers
473
views
How to Upgrade/Downgrade subscription in Flutter using in_app_purchase package
For purchases, I am using the inapppurchase package. The package provides features for upgrading and downgrading packages. But I am unable to upgrade or downgrade the package. I am sharing details ...
0
votes
1
answer
171
views
Removing subscriptions from my Google store possible - really?
It looks like Google have provided a way to delete in-app subscriptions, but have they?
The Developer API docs have a page about deleting inApp products, and while this could be the old "can ...
0
votes
0
answers
49
views
Billing Library: A purchase appears as active but doesn't appear in the purchase history
I've recently stumbled upon an interesting case. A user had an active (=non-consumed) one time purchase from a very long ago (it may be important). And queryPurchases() returned this purchase (as ...
0
votes
0
answers
17
views
In-AppBilling Subscription Verification
I would to the see subscription status of user using purchase token before logging into the application. How will I implement the code in Xamarin Forms? I am using In-AppBilling plugin.
2
votes
0
answers
138
views
How integrate samsung IAP in flutter app?
I'm about to release a flutter application on the samsung store, galaxy store.
I haven't found any compatible package or guide online that allows me to integrate in flutter, the Samsung IAP feature.
...