Management URL when subscirbed with Stripe

  • 14 September 2022
  • 5 replies

Badge +2

I've been working on adding Stripe Checkout to my existing app (both Android and iOS) for web checkout. Now I need to add a 'Manage Subscription' button within the app for users to easily navigate to where they can manage their subscription.

I tested subscribing a user with Stripe but the managementUrl returns null. Is this the expected behavior?

If so, it would be nice to make that clear in the documentation.

I have a function which I call to create a Customer Portal Session for the purpose of redirecting users to manage their subscription. I'd be curious to know what is the type of link returned if there is one for the Stripe case because I thought we should be generating a Portal Session through our own backend.

5 replies

Userlevel 4
Badge +7

Yes, using the Stripe Customer Portal is a great idea. We will receive webhooks for any changes the customer makes and reflect them in the RevenueCat data.

Userlevel 4
Badge +7

Yes, both should work.

Badge +6

@Jens Does RevenueCat recommend we use Stripe Customer Portal to allow customers who buy through Stripe to manage their subscription?

I didn’t find any reference to the Stripe customer portal in the RevenueCat documentation.

Badge +6

Thanks @Jens I see Stripe have two options:

I’d assume it makes no difference to RevenueCat which one we use as the webhooks should receive the updates from Stripe either way?

Userlevel 4
Badge +7

Hi Calvin,

Yes this is expected, because as you mentioned you need to generate a Portal session first, there is no static management link. I’ve added that callout to the docs.