How to use in-game authentication with Pley
If your game has its own login system within the game, you can disable Pley authentication completely.
In-game login
If your game already includes its own login or account system, you can disable Pley Authentication to avoid duplicate login flows. Only disable this option if users can create and sign in to accounts directly inside your game.
This should only be done in games with a login system within the game app. Otherwise there are risks that player progress and purchases may be lost.
- Go to to the Game Manager (manage.pley.com)
- Game Project > Capabilities > Authentication
- Disable Pley Authentication.
Now, the in-game login will be the only way for users to maintain their progress!
Once!It is not meant to freely swap between using Pley authentication and disabling it. It may create strange behaviors for users if Pley login is disabled with players playing. It is therefore recommended to only enable/disable this option before the game's launch.
When a Guest Session makes a purchase
When Pley authentication is enabled, it is required to login before making a purchase. If a guest session initiates a purchase, they will first be prompted to login or sign up. This is to reduce the risk of a player making a payment, and then losing their progress.
With Pley authentication disabled, this is no longer the case. Players can make purchases without being logged in, instead being prompted to provide an email for the invoice. If the game provides Pley with a valid email ((Pley.PaymentsKit.RequestPaymentAsync(productId, userEmailString);
), this step is bypassed.
It is highly recommended to provide the email when requesting a purchase, as it increases payment conversion by removing step in the payment process.
Updated about 16 hours ago