Skip to main content
Answer

Cancel Stripe subscription with Stripe subscription ID

  • November 16, 2021
  • 1 reply
  • 269 views

Forum|alt.badge.img+2

Hi, 

 

Atm we do not have the stripe subscription ID available in the Subscriber → subscription object. We want to be able to cancel them from our web funnel. 

 

Unless we’re missing something we’re not able to fetch the subscription ID directly through Revenuecat and we would have to save it somewhere in our backend. 

 

Is there a way to get the subscription ID through RevCat?

Best answer by sharif

Unfortunately the subscription ID is not available via RevenueCat’s API, webhooks, or ETL exports, so I don’t think you’d be able to do this via RevenueCat alone.

In webhooks we provide the subscription item in the transaction_id property which you may be able to use to cancel the subscription.

In general, we usually recommend holding onto subscription IDs on your backend since you already have it when processing the transaction so that you can continue to update the subscription as needed.

This post has been closed for comments

1 reply

sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • Answer
  • November 29, 2021

Unfortunately the subscription ID is not available via RevenueCat’s API, webhooks, or ETL exports, so I don’t think you’d be able to do this via RevenueCat alone.

In webhooks we provide the subscription item in the transaction_id property which you may be able to use to cancel the subscription.

In general, we usually recommend holding onto subscription IDs on your backend since you already have it when processing the transaction so that you can continue to update the subscription as needed.