Skip to main content
Solved

Cancel Stripe subscription with Stripe subscription ID

  • 16 November 2021
  • 1 reply
  • 196 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.

View original
Did this post help you find an answer to your question?

1 reply

sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 513 replies
  • 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.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings