Purchasely
Rechercher…
Full mode
Display paywalls and manage in-app transactions

When to use this mode?

In the Full mode, Purchasely handles transactions, analytics and paywall display as explained in default SDK Configuration.
Most of Purchasely customers use this mode because it allows to take benefit of all powerful features from Purchasely.
This mode is particularly relevant for teams starting their journey with in-app subscriptions as it will avoid developers to:
  • code an in-house transaction processor, manage the subscribers lifecycle and produce store-specific code to plug with the app stores (3 to 6 months of work in average)
  • waste time on developing the paywall(s)
Instead, teams can focus on developing their core product and features and use subscriptions as a convenience.

What can you do in this mode?

You can do pretty much everything:
  • Display paywalls and change them remotely
  • Create as many paywalls as you want to multiply the touch points
  • Process transactions and extract meaningful data from stores receipts
  • Receive unified subscription events from our Webhook to trigger your automations
  • Connect this data with your marketing tools using our integrations
  • Analyse your business with the dashboards integrated in the Purchasely Console

General overview

Implementation

1- Start the SDK

The first thing you need to do is to call the start method passing the mode paywallObserver / PLYRunningModePaywallObserver . View implementation details

2- Set user identifier

We need to know whenever a user is logged in or logged out to:
  • Hide the login button in the paywalls
  • Check if the user already used a trial and display the correct price

3- Configure and present paywalls

To display a paywall, you need to can get a Controller / Fragment from Purchasely.

4- Save/Verify user subscriptions

Purchases can be performed without any paywall involved. This is what happens for kids with ask-to-buy or with PSD2 flows.
In these cases your app is notified by the SDK and you must unlock the content / service.
After the initial purchase you will want to check the status. To do so you can use one of the following options:
Paywalls can be used in many othe ways that can be:

6- Migrate your existing subscriber base (optional)

If your app already has subscribers, you must migrate them to Purchasely to:
  • Have complete dashboards including every subscriber acquired in the past
  • Handle status using the userSubscriptions
Follow this guide to import your subscribers to Purchasely.
Copier le lien
Éditer sur GitHub
Sommaire
When to use this mode?
What can you do in this mode?
General overview
Implementation
1- Start the SDK
2- Set user identifier
3- Configure and present paywalls
4- Save/Verify user subscriptions
5- Configure deeplinks (optional)
6- Migrate your existing subscriber base (optional)