Real Currencies

The PlayFab Real Currencies Module is specifically designed to manage real monetary currencies and store features. 

In PlayFab, real currencies are differentiated from virtual currencies. This is for convenience in store management, server security verification and better in-application purchases and player value analytics.

This is very important for mobile, in which you need to verify if your players are really buying from the Google Play Store or Apple App Store through the PlayFab Server.

Hence, also providing additional analytics and per-player real monetary value, in terms of real monetary transactions.

All these complicated features are all handled and made simple by the addon and the PlayFab Server.

 

Intstructions

1. The first step is to add the PlayFab API addon into the project.

2. Then, add the Authentication addon into the project.

3. For mobile, also add the Mobile Master IAP addon into the project.

4. Finally, add the Real Currencies addon into the project.

Features :

  • Real monetary transaction verification.

  • Secure anti-cheat verification process.

  • Global and per-player monetary analytics.

  • Supports both Android and iOS.

  • Account synced and profiled.

  • Organized request and update feature.

Network Services :

  • Facebook

  • Google Plus

  • Game Center

  • Google Play

  • Facebook Instant Games

  • Steam

  • Xbox Live

  • Nintendo Switch

  • PS4

  • PlayFab

Intstructions

1. The first step is to add the PlayFab API addon into the project.

2. Then, add the Authentication addon into the project.

3. Finally, add the Virtual Currencies addon into the project.

Features :

  • Advanced to simple purchases.

  • Consumables and redeem coupons.

  • Virtual Currencies.

  • Store Console and versioning.

  • Account synced and profiled.

  • Organized request and update feature.

Network Services :

  • Facebook

  • Google Plus

  • Game Center

  • Google Play

  • Facebook Instant Games

  • Steam

  • Xbox Live

  • Nintendo Switch

  • PS4

  • PlayFab

Actions, Conditions & Expressions

Actions

Google Play :

  • Validate Google Purchase - Validates a Google Play purchase and gives the corresponding item to the player.

    • Currency Code - Currency used for the purchase.

    • Purchase Price - Amount of the stated currency paid for the object.

    • Receipt JSON - Original JSON string returned by the Google Play IAB API.

    • Signature - Signature returned by the Google Play IAB API.

    • Tag - A string to differentiate requests.

    • CustomData - Additional data to include in the request.

IOS Store :

  • Validate IOS Receipt - Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased catalog item.

    • Currency Code - Currency used for the purchase.

    • Purchase Price - Amount of the stated currency paid for the object.

    • Receipt Data - Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase.

    • Tag - A string to differentiate requests.

    • CustomData - Additional data to include in the request.

Conditions

Real Currency : Google Play :

  • On Validate Store Purchase - Triggers when the On Validate Google Play Purchase Succeeded.

  • On Validate Store Purchase Error - Triggers when the On Validate Google Play Purchase Failed.

Real Currency : IOS Store :

  • On Validate IOS Receipt - Triggers when the On Validate IOS Receipt Succeeded.

  • On Validate IOS Receipt Error - Triggers when the On Validate IOS Receipt Failed.

Expressions

Request :

  • Tag - Return the "Tag" of the latest request.

Server Response :

  • ServerResponse - Return the "Server Response" from every request from the PlayFab Server. The server response can also be shown in the "Chrome Developer Tools : Console", if in "debug mode".

  • CustomData - Return the "Custom Data" of the latest 
    request.

 

Server Configuration

To enable mobile real currencies, there is a few server configuration requirements. It is easy to setup from the PlayFab side, but there are a few technicalities for each mobile platform.

  1. Create a PlayFab Account.

  2. Create a Studio, then a game from that studio.

  3. From the sidebar, click on the side-tab labeled Addons, it will show an item group of platform services.

  4. If you want to support Android, install Google. If you want to support iOS, install Apple.
    You can also install both.

  5. Fill up each platform requirements.
    This is the technical part, which can be a bit complicated without experience with each platform.
    But, rest assured, there are documentation for this provided by each platform.

    Google Search will be your guide.

  6. After filling up the requirements for each platform, you then have completed the server configuration.
    You may now use the
    Real Currencies addon for your project.

 

Game Project

Sample Setup Project

Specifications

  • Instructions - The sample project has comments and instructions on how to use the addon and its features.

  • A.C.E. Coverage - It covers the implementation of each action, condition and expression.

  • Tips and Tricks - It provides some tips and tricks to a better use of the addon and of the event-sheet system alongside it.

Supporters

Only

 

Get the tools

for your pro games!

Constuct Master Collection - Itch.io
Constuct Master Collection - Discord
Constuct Master Collection - Construct 3

© Construct Master Collection 2020 • All rights reserved

Contact Information:

Construct 2 Project