question

ajdevelop7 avatar image
ajdevelop7 asked

Server/Admin API limits. Receipt validation.

We are using an external payment processor in our game.

Due to the design of this payment processor, we need to use an external Google Cloud Function for validation of the tickets.

We want that after the ticket validation, the Google Cloud Function send to PlayFab the valid ticket, so the client can know if a ticket is valid.

In order to achieve that, we are thinking about using (in the Google Cloud Function) the PlayFab Admin API to store the ticket Data into the player profile.

The question is, is there are a limit of calls that can be made by that Google Cloud Function using the Admin API? Apply the same restrictions than the Client API?

Thanks!

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

·
Seth Du avatar image
Seth Du answered

I don’t think there will be any issue in using Server APIs on Google Cloud Function. As they are Server API, its frequency limit differentiates from the client API’s. However, since the Google Cloud Function should work like PlayFab Cloud Script, we’d suggest not to implement Admin API on the Cloud side, instead you need to create a local tool/script to perform the administrative actions for safety concerns. Admin API is powerful that can modify title configurations. For more information, you may refer to these threads:

10 |1200

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

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.