Solved

CANCEL Webhook event is getting delay once cancel subscription plan from play store.

  • 20 August 2022
  • 3 replies
  • 89 views

Badge +1

Hi Team

I have integrated RevenueCat InApp purchase. I created subscription details screen in mobile app. Like Current plan name, status, period etc. which are fetch the details from backend server. We are managing all events on backend side then mobile side, We are fetching those details from the server via REST API. 

So plan status is Active once cancel current subscription plan from play store. It should be receive cancel event in web hook and get updated status from backend api.

What is solution for get web hook event on time. ?

 

Thank

icon

Best answer by Jens 22 August 2022, 10:47

View original

3 replies

Userlevel 5
Badge +7

Hi @Bhavdip Bambhroliya , a couple of questions.

Firstly, what is the reason for using information from your own backend rather than from the RevenueCat SDK in your app? The RevenueCat SDK should always have the most up-to-date information.

Secondly, have you enabled pub/sub for your app in the RevenueCat setup? This is required for RevenueCat to know about changes like cancellations in real time.

Badge +1

Hi @Bhavdip Bambhroliya , a couple of questions.

Firstly, what is the reason for using information from your own backend rather than from the RevenueCat SDK in your app? The RevenueCat SDK should always have the most up-to-date information.

Secondly, have you enabled pub/sub for your app in the RevenueCat setup? This is required for RevenueCat to know about changes like cancellations in real time.

Resolved in android. Can you suggest to same thing for the iOS version?

Userlevel 5
Badge +7

This is the equivalent for IOS: https://docs.revenuecat.com/docs/apple-server-notifications 

Reply