Observer mode
Observer mode allows you to use Purchasely alongside your existing in-app subscription flow.
This is a great way to:
Test Purchasely without changing your existing flow
Receive the Server-to-server notifications to trigger your automations
Connect our data with your marketing tools using our automations
Analyse your business with our great charts
and … smoothly migrate to Purchasely 🙂
Configure the SDK
Please instantiate Purchasely as soon as the app starts so that we can grab the receipts presented on app launch (PSD2, ask-to-buy, …).
If your user change within your app life cycle, please update Purchasely like that:
When a user logs out perform a:
Purchasely won't consume your purchases or acknowledge purchases made.
On iOS we won't finish the transaction of your consumables that will remain in the queue if you don't do that in your code.
On Android the transactions will be cancelled and refunded after 3 days.
Sync your purchases (Android only)
When a purchase or a restoration is made with your current flow, call the synchronize()
method of our SDK to send the receipt to our backend. This allow us to save the receipts on our server to prepare for your migration.
Last updated