I have setup a sandbox account to make purchases using the SDK.
My products on AppStore Connect have multiple region prices set
My GBP price is £6.99
My USD price is $7.49 (and is displayed correctly in app when I set the store locale as such)
When I make a purchase in GBP (shown correctly by iOS SDK) the Event Data shows the correct price value (price_in_purchased_currency) for GBP but the ‘Currency’ is incorrectly in USD.
{
"app_id": "app91a2d785de",
"app_user_id": "$RCAnonymousID:5cb684d5429346688102439d2892be77",
"country_code": "GB",
"currency": "USD",
"entitlement_ids": n
"Backstage"
],
"environment": "SANDBOX",
"event_timestamp_ms": 1655385097458,
"expiration_at_ms": 1657977095000,
"is_family_share": false,
"offer_code": null,
"period_type": "NORMAL",
"price": 6.99,
"price_in_purchased_currency": 6.99,
"product_id": "backstage_monthly",
"purchased_at_ms": 1655385095000,
"store": "APP_STORE",
"takehome_percentage": 0.7,
"transaction_id": "StoreKitTest_Transaction_1655385095000_0"
}
Is this a bug or expected behaviour for Sandbox?