Skip to main content
Solved

Not receiving 'TRANSFER' webhook

  • 18 February 2022
  • 3 replies
  • 166 views

Forum|alt.badge.img+1

Hello RC Community 

 

This morning in production we hit our first “Restore Purchase” scenario and hit a few hicups.


We had a user sign up for a subscription, then immediately sign into another account on our app. (So two users on OUR app, using one apple ID)

 

They triggered the restore purchase behavior (our app is currently set to ‘Transfer Purchases’) and we did see a TRANSFER event for both of these users in the dashboard - but did NOT receive a webhook.

 

Looking at the RC dashboard we can see: 

  • User 1 started a subscription (We got the INITAL_PURCHASE webhook successfully)
  • User 1 got a transfered event (Transfered to User 2’s ID)
  • User 1 lost all their entitlements/subscriptions
  • User 2 got all of their entitlements & subscriptions

 

The problem we are hitting is that we keep record of subscriptions on our end using the recommended method in the docs: to refresh a user’s data whenever we receive a webhook. BUT we didn’t receive a TRANSFER webhook for EITHER of these users, so now our data is out of sync. 

I can see the transfer event in the dashboard, but I see no integrations for this event, so it seems it didn’t even try to hit our webhook endpoint. (I can usually see events that were fired to our webhook endpoint & the status code in the integration section.) (Also I see no Braze, Amplitude, ect. integrations like I usually do)

I guess what I’m asking is:

  1. Why didn’t we receive a TRANSFER webhook for either user in this scenario?

Thanks in advance

-Gabe

Best answer by Gabe

The resolution on this was that we actually were receiving the transfer webhook but 2 things threw our system for a loop.
 

  1. Transfer webhook is in a different format than specified in the docs. 
  2. The transfer webhook doesn’t have an environment like the other webhooks, this caused us to skip the webhook completely. Apparently its a known issue?

You can see the format of transfer webhook, and read about the env missing stuff in this thread:
https://community.revenuecat.com/general-questions-7/question-about-webhook-transfer-type-485

Thanks @jazmine for the help on this!

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

3 replies

jazmine
RevenueCat Staff
Forum|alt.badge.img+7
  • RevenueCat Staff
  • 122 replies
  • February 28, 2022

Hey @Gabe , 

 

Transfer events won’t be sent into any 3rd part integration, but you should still be receiving these events in webhooks. I’m going to escalate this to a Zendesk ticket so I can get the App User Id(s) of the user.


Forum|alt.badge.img+1
  • Author
  • Helper
  • 3 replies
  • February 28, 2022

Thanks @jazmine !

Let me know if you need any more info from us. Also how can I access the zendesk ticket keep track of this? Or will you update here?

Thanks again,

-Gabe


Forum|alt.badge.img+1
  • Author
  • Helper
  • 3 replies
  • Answer
  • March 3, 2022

The resolution on this was that we actually were receiving the transfer webhook but 2 things threw our system for a loop.
 

  1. Transfer webhook is in a different format than specified in the docs. 
  2. The transfer webhook doesn’t have an environment like the other webhooks, this caused us to skip the webhook completely. Apparently its a known issue?

You can see the format of transfer webhook, and read about the env missing stuff in this thread:
https://community.revenuecat.com/general-questions-7/question-about-webhook-transfer-type-485

Thanks @jazmine for the help on this!


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