Purchasely
4
Search
K

Displaying users subscriptions

We believe that your customers should be able to unsubscribe as easily as they subscribed. This leads to a better global trust and offers some interesting opportunities like offering an upsell or downsell or getting to know why they choose to unsubscribe.
We provide a complete active subscriptions handling flow that you can call with a single line of code and that offers:
  • Active subscriptions list
  • Next renewal date
  • Upsell / downsell
  • Cancellation survey
  • Cancellation
Purchasely unsubscription flow
You can get the subscriptions list root controller by calling
Swift
Objective-C
Kotlin
Java
React Native
Cordova
Flutter
Unity
// ⚠️ The controller must be added to a UINavigationController
let ctrl = Purchasely.subscriptionsController()
// ⚠️ The controller must be added to a UINavigationController
UIViewController *ctrl = [Purchasely subscriptionsController];
supportFragmentManager.beginTransaction()
.addToBackStack(null)
.replace(R.id.subscriptionsFragment, Purchasely.subscriptionsFragment(), "SubscriptionsFragment")
.commitAllowingStateLoss()
getSupportFragmentManager().beginTransaction()
.addToBackStack(null)
.replace(R.id.subscriptionsFragment, Purchasely.subscriptionsFragment(), "SubscriptionsFragment")
.commitAllowingStateLoss();
Purchasely.presentSubscriptions();
Purchasely.presentSubscriptions();
try {
Purchasely.presentSubscriptions();
} catch (e) {
print(e);
}
private PurchaselyRuntime.Purchasely _purchasely;
_purchasely.PresentSubscriptions();
© Purchasely 2020-2023