question

l3131 avatar image
l3131 asked

​I want game connect playfab

I want game connect playfab

Preferably contain :

*Purchase from within the game

*gold

*Diamond

To find out how to do it

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

·
brendan avatar image
brendan answered

Depending on how you plan to have the player make purchases in-game, one of these two guides will be the one to use:

Receipt validation: https://playfab.com/show-me-money-receipt-validation-ios-and-android/ (we'll be updating this with the Amazon receipt info as well soon, but it's effectively the same as you see for the other platforms - all catalog item setup is identical)

Non-receipt validation: https://api.playfab.com/docs/non-receipt-purchasing

When setting up the Virtual Currencies you plan to sell, you can use a Bundle. Add the appropriate VC amount to the Bundle, and give it a Usage Period of about 5 seconds. That way, the Bundle will deposit the VC to the player account and then remove itself (so that it doesn't continue to take up space in the player inventory), leaving the VC.

2 comments
10 |1200

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

l3131 avatar image l3131 commented ·

did not understand what I mean

example Game 3D playfab

https://github.com/PlayFab/UnityPlayFab_AngryBots

I want source code game 2D Genitive playfab To Tutorial

Easy to learn

Thanks Brendan

0 Likes 0 ·
brendan avatar image brendan l3131 commented ·

We provide the complete source code to our demo title "Unicorn Battle" here: https://github.com/PlayFab/UnicornBattle. We also provide a range of documentation at https://api.playfab.com, including tutorial videos here: https://api.playfab.com/videos.

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.