Hello, Forum - I am consistently getting "1150" error codes when I attempt to validate an Amazon receipt.
Using Unity 2017.1, PlayFab SDK 2.24.170710.The Amazon Add-On and secret key is established.
I successfully get the Amazon IAP UI on the device, but the subsequent receipt validation call to PlayFab (ValidateAmazonIAPReceipt) fails.
I am pulling the ReceiptId and UserId from the data returned by Amazon, and the CurrencyCode and PurchasePrice from the data returned by "PlayFab.PlayFabClientAPI.GetCatalogItems", via a lookup on "ItemId".
So the request looks like:
{
ReceiptId: q1YqVbJSyjH28DGPKChw9c0o8nd3ySststQtzSkrzM8tCk43K6z0d_HOTcwwN8vxCrVV0lEqBmpJz08s0UsqzUvJSdVLSizOTNYrSEzOBkqWKFkZ6CilAJUYmhoYWlhYmhmZm5qbK9UCAA,
UserId :l3HL7XppEMhrOGDnur9-ulvqomrSg6qyODKmah76lJU=,
CurrencyCode : RM ,
PurchasePrice: 99
}
from a purchase of: (Sample GetCatalogItems response):
{
"ItemId": "thing.to.buy",
"ItemClass": "ThingClass",
"CatalogVersion": "Game Packs",
"DisplayName": "THING",
"Description": "Thing To Buy",
"VirtualCurrencyPrices":
{ "RM": 99,
"GT": 0
}, "
..etc
}
The 1150 error is not in the error list on the man page for ValidateAmazonIAPReceipt. Is this a more general error?
Even using the API "Try it" gives the same error.
Am I misunderstanding how to use the call?
Let me know if I can supply any other info.Thanks, any suggestions are appreciated.
-heath carlisle