question

Tommy Li avatar image
Tommy Li asked

ValidateIOSReceiptRequest missing CatalogVersion parameter

Like what the title says, at least in C# SDK, the request class for ValidateIOSReciept is missing the optional CatalogVersion parameter .

The way that I may work around this (not yet tried) is to subclass this request class and add the parameter myself.

Here's what the metadata looks like:

#region Assembly PlayFabAllSDK, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// PlayFabAllSDK.dll
#endregion

using PlayFab.Internal;

namespace PlayFab.ClientModels
{
        public class ValidateIOSReceiptRequest : PlayFabRequestCommon
        {
                public string CurrencyCode;
                public int PurchasePrice;
                public string ReceiptData;

                public ValidateIOSReceiptRequest();
        }
}

sdks
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

Hi,

Which version of C# SDK are you using? I can see the CatalogVersion parameter has been added in ValidateIOSReceiptRequest class in the latest version: https://github.com/PlayFab/CSharpSDK/blob/master/PlayFabSDK/source/PlayFabClientModels.cs#L7314

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Tommy Li avatar image Tommy Li commented ·

Thanks for your reply. Yes, I can confirm that the parameter is in the latest C# SDK from Nuget.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.