Skip to main content
Question

No webhook event for deferring a subscription

  • October 12, 2024
  • 4 replies
  • 163 views

Forum|alt.badge.img+5

Hi all, I’m testing the possibility of extending a subscription.

For Apple I managed to get it work by using the https://api.storekit.itunes.apple.com/inApps/v1/subscriptions/extend/ endpoint. This also produced a webhook event.

 

For google I used the https://api.revenuecat.com/v1/subscribers/{app_user_id}/subscriptions/{product_identifier}/defer endpoint. Now, the subscription correctly got extended by the amount specified; using the https://api.revenuecat.com/v1/subscribers/{app_user_id} endpoint to fetch subscriber data I can see the updated expires_date, but I did not received any webhook events.

 

I would like to receive that event so that the user transaction list is updated as well. Since I integrated ETL export so i can fetch all user transaction data and pour it in my database, missing this event information can produce inconsistent data.

 

Is this normal?

This post has been closed for comments

4 replies

sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • October 17, 2024

Hi @talkkit,

I would have expected RevenueCat to send the SUBSCRIPTION_EXTENDED event: https://www.revenuecat.com/docs/integrations/webhooks/event-types-and-fields#event-types:~:text=%E2%9D%8C-,SUBSCRIPTION_EXTENDED,-An%20existing%20subscription

Do you have Google’s S2S notifications configured in RevenueCat?


Forum|alt.badge.img+5
  • Author
  • New Member
  • October 22, 2024

Yea me too i was expecting a subscription_extended event. In fact I received it for the apple extension.

I also configured correctly google s2s, you can see the screenshot below with the last notification date

At this poi I will try again to defer a subscription and let you know if i get that event.


sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • October 29, 2024

Hi @talkkit,

I’ll check with the team to look into this, I’ll let you know what they say.


sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • October 29, 2024

@talkkit can you open a support ticket with a link to the customer profile where you expected to see the webhook so we can investigate?