[FR][iOS] Detect purchase environment: production or sandbox #31 #32
Closed
JeffGuKang
started this conversation in
Ideas
Replies: 1 comment
-
Looks like the Let me know if you need more details! |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
StoreKit2 includes transaction information that indicates which server is being targeted.
This allows us to determine whether the purchase is occurring in the production or sandbox environment.
Swift Example
Refer
Expected Behavior
We can read
environment
parameter fromtransaction
object.Screenshots
Environment:
Beta Was this translation helpful? Give feedback.
All reactions