Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS Consumable In-App Purchase Item can only be purchased by requestPurchase once per day in sandox environment? #2744

Closed
tsogzark opened this issue May 19, 2024 · 2 comments

Comments

@tsogzark
Copy link

Please use the Discussion board if you want to get some help. Please use issues to report bugs.

Description

I am using requestPurchase to buy a consumable item in ios by sandbox apple id.
But I can only buy the same sku item once per day.
When I make a request by requestPurchase, there is no purchase popup, except for the first time and purchaseUpdatedListener can catch the same transactionID as the first time at the second time.
However, I am able to buy the same sku item at 00:05 the next day.

Expected Behavior

The same sku item can be purchased multiple times per day.

Screenshots

Environment:

  • react-native-iap: 12.13.1
  • react-native: 0.73.0
  • Platforms (iOS, Android, emulator, simulator, device): iOS device

To Reproduce


[Optional] Additional Context

@tsogzark
Copy link
Author

I sovled this problem. I forget to finishTransaction :)

@zhen-zhong
Copy link

Is finishTransaction(purchase, false) called to complete the transaction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants