Skip to main content
Solved

Do refunds get sent to AppsFlyer?

  • February 7, 2022
  • 2 replies
  • 279 views

tobysola1
Forum|alt.badge.img+9

Hi, 

 

We’re setting up the RevenueCat > AppsFlyer integration. This allows RevenueCat to send subscription-related events to AppsFlyer, so we can tell which advertising campaigns are performing the best. Most importantly, RC will send proceeds data to AF, so we can tell how much money is coming from each campaign. 

 

Here’s my question: What happens if a user gets refunded on each of our platforms (Apple, Google, Stripe). Does RC pick up on the refund? Does RC send the refund to AF, so AF’s proceeds reporting is accurate? 

 

Thanks, 

 

Toby 

Best answer by sundeep

This question was resolved through our ticketing system, but posting the answer here as well to share:

RevenueCat will send a new event when refunds happen and it will look like a cancellation event. However, we report negative revenue in the af_revenue parameter so revenue tracking will be accurate in AppsFlyer. 

An example event would look like:

{ "appsflyer_id": "yourAppsFlyerID", "customer_user_id": "yourAppUserID", "eventName": "rc_cancellation_event", "eventValue": "{\"af_revenue\": \"-56.10\", \"renewal\": \"false\", \"af_content_id\": \"product_id\", \"af_currency\": \"USD\"}", "af_events_api": "true", "eventCurrency": "USD", "eventTime": "2021-01-01 01:19:01.000", "bundleIdentifier": "yourAppBundleID"}

I would recommend checking out this doc to learn more about refunds on each platform: https://docs.revenuecat.com/docs/managing-subscriptions#refunding-purchases 

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

2 replies

sundeep
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 138 replies
  • Answer
  • February 9, 2022

This question was resolved through our ticketing system, but posting the answer here as well to share:

RevenueCat will send a new event when refunds happen and it will look like a cancellation event. However, we report negative revenue in the af_revenue parameter so revenue tracking will be accurate in AppsFlyer. 

An example event would look like:

{ "appsflyer_id": "yourAppsFlyerID", "customer_user_id": "yourAppUserID", "eventName": "rc_cancellation_event", "eventValue": "{\"af_revenue\": \"-56.10\", \"renewal\": \"false\", \"af_content_id\": \"product_id\", \"af_currency\": \"USD\"}", "af_events_api": "true", "eventCurrency": "USD", "eventTime": "2021-01-01 01:19:01.000", "bundleIdentifier": "yourAppBundleID"}

I would recommend checking out this doc to learn more about refunds on each platform: https://docs.revenuecat.com/docs/managing-subscriptions#refunding-purchases 


tobysola1
Forum|alt.badge.img+9
  • Author
  • Dedicated Member
  • 16 replies
  • February 10, 2022

Thank you Sundeep! Very helpful answer. And so great that you’ve built the integration in this way. It will let me do manual affiliate programs. 


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