Purchasely
Rechercher…
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
1
// ⚠️ The controller must be added to a UINavigationController
2
let ctrl = Purchasely.subscriptionsController()
Copied!
1
// ⚠️ The controller must be added to a UINavigationController
2
UIViewController *ctrl = [Purchasely subscriptionsController];
Copied!
1
supportFragmentManager.beginTransaction()
2
.addToBackStack(null)
3
.replace(R.id.subscriptionsFragment, Purchasely.subscriptionsFragment(), "SubscriptionsFragment")
4
.commitAllowingStateLoss()
Copied!
1
getSupportFragmentManager().beginTransaction()
2
.addToBackStack(null)
3
.replace(R.id.subscriptionsFragment, Purchasely.subscriptionsFragment(), "SubscriptionsFragment")
4
.commitAllowingStateLoss();
Copied!
1
Purchasely.presentSubscriptions();
Copied!
1
Purchasely.presentSubscriptions();
Copied!
1
try {
2
Purchasely.presentSubscriptions();
3
} catch (e) {
4
print(e);
5
}
Copied!
Copier le lien
Éditer sur GitHub