I've been trying to solve an issue when RedeemAppleAppStoreInventoryItems api. If i test in the app: "Value cannot be null.\r\nParameter name: key". The code I'm using is:
string transactionReceipt = _appleExtensions.GetTransactionReceiptForProduct(e.purchasedProduct);
PlayFabEconomyAPI.RedeemAppleAppStoreInventoryItems(new RedeemAppleAppStoreInventoryItemsRequest()
{
Receipt = transactionReceipt
}, response =>
{
Debug.Log("[PoR Store] Validation successful!");
_onPurchase?.Invoke(true, e.purchasedProduct);
},
error =>
{
Debug.Log("[PoR Store] Validation failed: " + error.GenerateErrorReport());
_onPurchase?.Invoke(false, e.purchasedProduct);
});
And i receive this error: