transactionReceipt is empty string when testing in app purchase on iOS. #3001
Unanswered
shuvajitmaitra
asked this question in
Q&A
Replies: 1 comment
-
You should use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to test my in-app purchase. After successfully purchasing the product in the app, via TestFlight and signing into the Sandbox account, I try and access the purchase.transactionReceipt value to send to my backend for verification, but it is an empty string.
Expected Behavior
It's expected not to be an empty string so that I can verify the transaction in my backend.
Screenshots

Environment:
"react-native-iap": "^14.0.1",
"react-native": "0.79.2",
Platforms (iOS, simulator, device): iOS Physical Device (TestFlight)
Is this because I am testing via TestFlight, so the transaction technically doesn't go through, thus there's no receipt?
Beta Was this translation helpful? Give feedback.
All reactions