Questions tagged [in-app-purchase]

In-app purchase (IAP) usually refers to the acquisition of a feature for an application from within the application itself or the buying of digital goods from within an application. Use this tag for questions about writing code for the buying process. Questions about app-store policies or about specific transactions are off-topic on Stack Overflow and should not be posted.

Filter by
Sorted by
Tagged with
0 votes
1 answer
49 views

I get a weird behavior when I test my in-app purchase of type subscription

I'm trying to add my very first in-app purchase of type renewable subscription in a SwiftUI app and I get a weird behavior. I actually don't know if it's me or just a normal/weird behavior. Let me ...
Alexnnd's user avatar
  • 577
0 votes
0 answers
7 views

Is there a way to clean macOS IAP fetched products cache

I'm testing IAP in an application in bad network conditions using Network Link Conditioner. I'd like to test a case when products are not fetched yet. I enable 100% loss. Sometimes I'm lucky and ...
dmitry1100's user avatar
  • 1,219
0 votes
0 answers
16 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 ...
Pratik Prajapati's user avatar
0 votes
0 answers
16 views

Setup Firebase to validate Google Billing purchase tokens

I don't know the common way but I have the following idea: The client that uses my app sends a purchase token that it recieved after a successful purchase from the google play billing api to my ...
ohshit's user avatar
  • 13
0 votes
0 answers
5 views

Can not load subscription packages using Flutter's in_app_purchase on MacOS app

I am using using Flutter's in_app_purchase package. I am getting all the subscription packages in notFoundIDs. Works fine on the iOS & Android
Syed Arsalan Kazmi's user avatar
0 votes
0 answers
13 views

Does StoreKit support Family Members read and remove programmatically?

Since Apple supports the family subscription function, I have only seen operations for family members in Apple's settings center. I read the official documentation of storekit. Can't seem to find how ...
jrjian's user avatar
  • 131
0 votes
0 answers
8 views

Is the Ability to Maintain Subscription Benefits After Switching Google Play Accounts an Exploit or Intentional Feature?

I've encountered a scenario in our Android game related to Google Play subscriptions, and I'm seeking advice on how to handle it effectively. Here's the situation: User subscribes to our game using ...
alaslipknot's user avatar
0 votes
0 answers
8 views

how to get PastPurchases in In_App_Purchase in IOS devices Flutter

i have used in_app_purchase package for purchase and subscription in flutter and ihave stored that purchased product data to the fiebase data base now i am able to get pastpurchases in Android devices ...
Sumita Naiya's user avatar
0 votes
0 answers
11 views

inAppPurchase.restorePurchases() takes forever to restore purchases

I am using Flutter's [in-app-purchases][1] package to handle subscriptions inside my app. It worked great until I tried to use inAppPurchase.restorePurchases(); to restore the previous purchases. It ...
Syed Arsalan Kazmi's user avatar
0 votes
0 answers
24 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 ...
radu's user avatar
  • 3
0 votes
0 answers
21 views

Restore purchase is not working in Flutter

I'm using this in-app-purchase package by RevenueCat and everything is working fine except the restore purchase. This is the steps that I took to test it. Install App in production from App Store ...
aasenomad's user avatar
  • 415
0 votes
0 answers
44 views

react-native-iap requestSubscription withOffer, Unable to Purchase (ios)

if not use withOffer, it work. if used withOffer, the purchase process was unsuccessful. On TestFlight, When the requestSubscription is called, the product information will pop up, and the user name ...
Cao YongFeng's user avatar
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 ...
Alexandr's user avatar
  • 210
0 votes
0 answers
16 views

Xamarin CrossInAppBilling: Get all previously subscribed products, on-device

I'm using the Xamarin CrossInAppBilling library. I want to get a list of all products that the user has ever subscribed to, regardless of current subscription status. I would like to do this entirely ...
Brian Rak's user avatar
  • 4,964
1 vote
0 answers
25 views

How can I check the status of a subscription using in_app_purchase?

I cannot find up-to-date information on how to find out the current status of a subscription, i.e. check whether it is active or inactive. I expect to get as a result the ability to identify whether a ...
Axel Carachure's user avatar
1 vote
4 answers
130 views

Will Google Play users included in testing email lists always receive in-app items for free?

I have added the accounts of some Google Play users to email lists for testing purposes, as shown in Image 1. When I apply the email list for internal testing of an app, these test users can purchase ...
HelloCW's user avatar
  • 1,003
0 votes
0 answers
27 views

Could not determine the dependencies of task ':app:mergeDebugAssets'. react-native-iap

I am installing react-native-iap I get this error when compiling in android. do you know how to solve it? Version lib: "react-native-iap": "^12.11.0" "react-native-camera"...
edgar fernando alfaro mora's user avatar
1 vote
0 answers
77 views
+100

Will Google Play block license testing email accounts?

I have published an app on Google Play and added some Google email addresses to the License Testing Lists for the purpose of testing Google in-app functions. I have observed that certain Google email ...
HelloCW's user avatar
  • 1,003
0 votes
0 answers
30 views

Integration of third party subscription services in ios app

Before going further I want to clarify that this is not program related question. I'm unable to find proper docs or guidelines for my problem hence I'm asking the question here. My problem is that I ...
Suraj Pawar's user avatar
1 vote
1 answer
106 views

I'm encountering an issue with re-purchasing a Google Play in-app item after refunding it for internal testing, how can I fix it?

I am facing an issue in my app's internal testing process while attempting to re-purchase a Google Play in-app item after refunding it. The app is currently published to the Internal Testing channel. ...
HelloCW's user avatar
  • 1,003
0 votes
0 answers
48 views

android react-native-iap 12 requestPurchase

I updated my app to "react-native": "0.72.4", and I use "react-native-iap": "12.10.7". but requestPurchase function is not working correctly in android anymore....
B B's user avatar
  • 1
0 votes
0 answers
21 views

How do I detect a payment canceled by a user in an in-app payment?

I implemented in-app payment properly using react-native-iap(version: 12.10.5). However, I don't know what to do about payments canceled by users. I think stores are so unfriendly... Anyway like the ...
이명주's user avatar
0 votes
1 answer
19 views

SwiftUI StoreKit prefersPromotionalIcon not showing icon

When implementing the additions to SwiftUI with StoreKit, I'm trying to use the new ProductView and StoreView, with Promotional Icons: init(id:prefersPromotionalIcon:) But they do not load the ...
Vicente Garcia's user avatar
0 votes
1 answer
67 views

Adding In App Purchases to react native app using expo

I have a react native app that is using expo. I am trying to implement IAP purchases for IOS. as users sign up to the app. Is it possible to have IAP added to my app whilst my app is configured this ...
BEN_Stacey's user avatar
1 vote
0 answers
73 views

In app purchase (iOS) sandbox issue. Error Domain=ASDServerErrorDomain Code=3504

I get the following error message when trying to test my in-app purchase with a sandbox user. <SKPaymentQueue: 0x283e01090>: Payment completed with error: Error Domain=ASDServerErrorDomain Code=...
OSMO's user avatar
  • 11
1 vote
1 answer
64 views

Unable to find Apple Paid Applications Agreement

I need to implement in-app purchases for my iOS application. For which I need to accept the Paid Applications Agreements but on the App Store Connect "Agreements, Tax and banking" page under ...
Shahab Idrees's user avatar
0 votes
0 answers
35 views

I updated Unity IAP to update Google PBL, but can't log in Google Play Service at phone after uploaded at Play Console Internal test

At first, I'm not a native English speaker, sorry for poor English skills. Also I started studying Unity and programming basics few months ago, so easy word explanation would be very grateful. I was ...
AnonymousGecko's user avatar
1 vote
1 answer
23 views

Flutter in_app_purchase plugin requires Firebase

Question: am I required to use Firebase if I need to implement in_app_purchase in my app? The Google says to implement in app purchase, you have to use: pub.dev/packages/in_app_purchase There is the ...
DktPhl2018's user avatar
0 votes
0 answers
21 views

Custom redeemable voucher code for lower subscription price

I have an application with features that I would like to lock for users without a subscription. My client would like to give voucher codes for influencers to spread it for their users. In the ...
Akos's user avatar
  • 77
0 votes
0 answers
23 views

Setting up conditional offers in App Store Connect

I have a Flutter app with a Node backend, and I have users input promotional codes during signup. Later, when the user goes to pay for a subscription to my app, if they have entered a promotional code ...
Dara Java's user avatar
  • 2,575
1 vote
0 answers
49 views

Introductory offer does not appear for Sandbox testing

I currently have an introductory offer(with an auto-renewable subscription) with a trial period of 1 year set up and then $X.XX setup up after one year in up in App Store Connect, which is in the '...
test989898's user avatar
0 votes
1 answer
35 views

In-App Purchase in sandbox environment not authorized change via app store connect

Similar to other stackoverflow posts, but itunes have since been deprecated, so many posts are irrelevant. For Xcode 14.3, and nov 2023, going here https://appstoreconnect.apple.com/access/users/...
not_fubar_yet's user avatar
0 votes
0 answers
24 views

App Limited Region Availability : Google Play Billing Policy Violation

We have an android application in which we upload the courses. These courses contain Videos,PDFs and Audios. Users can purchase whatever course they want and after purchasing they will have access for ...
Nisarg Jani's user avatar
1 vote
0 answers
51 views

How can I check the status of a subscription using in_app_purchase in Flutter for Android?

I would like to know how I can check if a user has an active subscription. In this case, I have created a 1 month subscription and everything is working correctly. However, in what way can I determine ...
Axel Carachure's user avatar
0 votes
1 answer
52 views

Moving from a Single Purchase to a Subscription Model in a WinUI3 Windows SDK C# Application

Moving from a Single Purchase to a Subscription Model in a WinUI3 Windows SDK C# Application I am currently working on a WinUI3 Windows SDK C# application that is available as a paid product in the ...
JoeTomks's user avatar
  • 3,247
0 votes
0 answers
27 views

Subscriptions are not showing up once IPA got created in iOS In App Purchase StoreKit2

I have implemented In App Purchase using Apple's StoreKit framework. I have created a .storekit file inside Xcode and synced all the subscriptions from App Store Connect. When I do connect my device ...
Gopal's user avatar
  • 11
1 vote
0 answers
47 views

How add In-App Purchases for iOS from Info.plist

How In App Purchases are look like in Info.plist? It's a tricky question from the part of "how to enable IAP for iOS by not having Xcode editor, and macOS itself". While the most questions ...
FieryCat's user avatar
  • 1,905
3 votes
2 answers
2k views

Google Play In-App Purchase Error: "Couldn't complete your purchase"

I'm adding in-app purchases to my Android application. I've completed all the steps to fetch the products, display them to the user, and start the purchase flow. Now, I'm trying to test it. To do that,...
Heysem Katibi's user avatar
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 ...
Alexandr's user avatar
  • 210
0 votes
0 answers
33 views

How to get google play purchase details for voided purchases

I'm trying to implement processing of refunded google play purchases with google's voided purchases API However, while the voided purchases API returns the purchase token, and the order ID, in order ...
koniiiik's user avatar
  • 4,261
0 votes
0 answers
50 views

Crash with "suspend resume partial function for StoreKitManaer.purchase(_:)"

There were no crashes in emulator and real device tests, and I do not receive any negative feedback during the application publishing phase. Later, when I download the published application from the ...
Mustafa Alper Alper's user avatar
0 votes
0 answers
56 views

react-native-iap getProducts() returns undefined on EAS built iOS app

I'm working on an iOS app built with Expo Application Services (EAS) and encountering issues with the react-native-iap library: getProducts({skus: ['Credits30']}) unexpectedly returns undefined. ...
Diego Olalde's user avatar
0 votes
0 answers
24 views

In App Purchase sanbox reopens repeatedly and does not send purchased status in stream

I am facing a weird issue while making a purchase of auto renewable subscription through in_app_purchase package in IOS simulator 17.0. Here is the preview of the issue: https://www.loom.com/share/...
Muhammad Hamad Jamal's user avatar
0 votes
0 answers
24 views

AppReview Rejected Sandbox Account Test Email Subscription Because "Can't Connect to AppStore - Retry"

On my purchase page I use RevenueCat to make the initial purchase and in my SettingsVC I have the in-app purchase API (as required) to later resubscribe: // ... try await AppStore....
Lance Samaria's user avatar
0 votes
1 answer
55 views

How to Change Sandbox Tester Auto-renewable Subscription Rate in App Store Connect?

This is my first time implementing am autorenewable subscription service for my app. I use RevenueCat and everything works on their end. The subscription part of my app charges users per week and the ...
Lance Samaria's user avatar
0 votes
1 answer
56 views

Do IAP buttons have callbacks?

I'm using RevenueCat for subscriptions. It works fine when I make the test purchase but I'm having an odd problem. I have a separate "Purchase" button, when pressed, the RevenueCat action ...
Lance Samaria's user avatar
0 votes
1 answer
66 views

cordova-plugin-purchase / iaptic - cant get in app purchase to work

I have had to update my in app purchase functionality, due to google billing forced updates, and am such using v13 of cordova-plugin-purchase. I simply cannot get this to work or even return anything. ...
Paul VI's user avatar
  • 503
0 votes
0 answers
24 views

Active subscription doesn't show in Manage Subscription iOS

I've build my in app purchases / subscriptions with revenue cat and all seems to work ok except the fact that if i buy a subscription, I don't see it in app store subscriptions. In revenue cat ...
ALex's user avatar
  • 653
0 votes
0 answers
90 views

"The current user has insufficient permissions to perform the requested operation."

I am seeking your assistance with a permissions issue I've encountered while working on my Android application, which utilizes Google Cloud services for real-time notifications through webhooks.The ...
Megha's user avatar
  • 1
0 votes
0 answers
17 views

about 30% iap-purchase event missed

the version of firebase analytics sdk of our app is 21.3.0, and the purchase event should be tracked automatically, but we found some purchase event missed, compare with the order number from Google ...
Xie Tian Lu's user avatar

1
2 3 4 5
186