Questions tagged [google-play-billing]
77 questions
1
vote
0 answers
Link Google Play In App Purchase to a specific UserId
Forgive me if this is answered, somewhere, but I couldn't find it.
Similiar issues that don't solve my problem:
This Question - This won't work for me because Google Play allow users to unsubscribe from the application from outside of the app, so I…

Pythogen
- 591
- 5
- 25
1
vote
0 answers
Implement Android Billing Introductory Offer in Kotlin
I am looking to add an introductory offer or free-trial to my google play subscription.
I am using the new version of the billing library (5.0), however I cannot see the details of the subscription offer anywhere in the object returned from…

Checkmate
- 11
- 3
1
vote
1 answer
Manage subscription free trials with Google Play Billing Library from Android Studio
I've been managing Google Play subscriptions from my Android app for a long time, using Google Play Billing Library version 4.0 since last year (it's not feasible to upgrade to 5.0 at this moment). Now I want to offer free trial periods in…

David Burgos Prieto
- 111
- 1
- 5
1
vote
1 answer
How to query multiple products with different types from Google Play Billing 5?
I upgraded to Google Play Billing 5 in the hopes that I could use the new queryProductDetailsAsync method to query a list of products with differing BillingClient.ProductType types. I saw nothing in the documentation against doing this.
However,…

user18208230
- 23
- 3
1
vote
0 answers
"Google Play store has stopped" and Billing service disconnected, before consuming a purchase
Recently my game started crashing while making a purchase. I've tried with billing library version 3 and 5. My targetSdkVersion is 32, billing version is 5.0.0, and play services version 4.3.14. I've tried playing with different versions, but I get…

Henrik
- 339
- 3
- 13
1
vote
1 answer
Google Play Billing Plan Upgrade/Downgrade with DEFERRED proration mode
In my Android application, we have multiple subscription plans, 1/2/3 months, which offer app features, for different durations, to users. User may switch between different plans during an active plan. E.g. suppose a user opts for 1 month plan.…

Ammar
- 1,811
- 5
- 26
- 60
1
vote
0 answers
How do I integrate the current Google Play Billing Library with Flutter?
A warning titled "Google Play Billing Library version deprecation" is displayed in the "Products->In-App Products" menu on the Google Play Console page. How can I solve this?
https://developer.android.com/google/play/billing/deprecation-faq

serkanayaz
- 745
- 6
- 20
1
vote
1 answer
After cancelling the purchase made by google play billing processing the purchase query shows purchase state as 1 in the loop
I have purchased and cancelled the order. So it got refunded. After the refund the purchaseState is in 0 (UNSPECIFIED_STATE). Hereafter cancellation of the purchaseQuerySkus return the state as 0.
But the for loop returns the value as 1 for…

sejn
- 2,040
- 6
- 28
- 82
1
vote
1 answer
How to properly update Android BillingFlowParams sku() to setSkuDetails()
here is the code can anyone tell how can I setSkuDetails()
as I was using vision one now I update it to 4
However, setSku and setType seem to be deprecated in the BillingFlowParams.Builder class. Instead, we should be using…

Maan Chaudhary
- 29
- 4
1
vote
1 answer
BillingClient.querySkuDetails(SkuDetailsParams.builder()) not working?
Getting an empty list when fetching with querySkuDetails()?

Kevin Germain
- 471
- 3
- 6
1
vote
0 answers
Our users keep getting Payment Declined error when making Android in app purchase
We just published our app on Google Play Store but all IAP attempts that use any payment method, except Test Cards, always gets "Error: Transaction was declined" error.
transaction-declined
When we check the Order ID on PlayStore Console, the log…

Suzy Ngo
- 11
- 1
1
vote
1 answer
UI element updates does not work when purchase completed - Google billing client 4
I have changed over to Google billing client 4.0 library. Since then when purchase is completed, my ui elements updates does not work.
I was trying to check if they are not in UThread anymore or something, but it is not working properly…

Endre Olah
- 875
- 2
- 9
- 25
1
vote
0 answers
My 'subscription' in-app-purchase gets cancelled everytime. How to turn my subscription auto-renewable?
I got a situation.
I have implemented for in-app subscription purchase with google-play-billing successfully.
I can buy it from my app using the dummy card provided for testing by the google-play-billing library, but my purchase gets cancelled every…

MEGHRAJ CHETIA
- 13
- 6
1
vote
0 answers
How to add In App Purchase Subscription to Android?
I'm trying to implement in app purchase subscription to my android java app and following the tutorials from this link
https://developer.android.com/google/play/billing/integrate#java.
I created a new test project and following the steps, but not…

Julia
- 1,207
- 4
- 29
- 47
1
vote
0 answers
Using in background thread Google Play billing library v3
I'm migrating my code from old AIDL google play billing system to the newer Google Play Billing library v3. I used old code in background threads to check if a purchase was present for example. The new library uses several listeners and methods like…

greywolf82
- 21,813
- 18
- 54
- 108