iOS Receipt Lost - Don't get saved in DB
See original GitHub issueVersion of react-native-iap
“react-native-iap”: “^4.4.1”,
Version of react-native
“react-native”: “https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz”, (ExpoKit)
Platforms you faced the error (IOS or Android or both?)
iOS
Expected behavior
How to get last receipt Trasaction (only one).
Actual behavior
Get latest and active one transaction receipt details (JSON)
Tested environment (Emulator? Real Device?)
Real Device
Steps to reproduce the behavior
After calling await RNIap.requestPurchase(productID);
and getting payment I’m saving the results
in my DB based on the userID
. However, while taking payment, due to some reason I’m not able to save that in my DB and the payment get successful.
I know we can get the all receipts with getAvailablePurchases()
. But it’s like it will load 100s of data (if its available). How to get the recent active transaction details with receipt?
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (4 by maintainers)
Top Results From Across the Web
in-app receipt saved to db has inv… | Apple Developer Forums
I'm needing to save the user's receipt into a db field to retreive for later validation/update. When I copy the saved receipt and...
Read more >Back track IOS Receipt Information of Payments made using In ...
A receipt is generated for all transactions, but for consumable purchases and non-renewing subscriptions the item is removed from the receipt ...
Read more >Receipt Paper: Why It Fades and How to Restore It?
Thermal receipt paper will fade gradually. This article will introduce three ways to restore the faded thermal receipt paper.
Read more >9 Best Receipt Apps in 2022 - Keeper Tax
There are a ton of receipt apps out there to choose from. We'll help you cut through the noise and pick the best...
Read more >The Best Way to Connect Your iOS App to MySQL Database ...
Don't worry, we'll go through all of that in this tutorial. ... You won't be able to save your password until the “password...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well, So
4.4.3
is stable to downgrade to it? Thanks.Edit
The problem solved #1020 😄
Other people too facing issue with finishTransactioniOS in 4.4.8 version as well. So I guess the problem is in the module itself. It would not be wise to check if other also facing the same. I suggest you simply get back to the previous versions modules and then revert to the latest when your issue get resolved. Cheers!