Skip to main content
Question

After purchase new alias & app user id created?


Forum|alt.badge.img+2

Hello! when user make purchase new alias created, even on Webhooks there is only 1 alias and original app user id is no correct
I am losing subscribers right now and getting refund because I cannot update the user as premium

Please check screenshots

 

 

 

I perceive that my sdk version were 5.6.0 when I update it it updated to 5.20.0 maybe that was the issue 

?

3 replies

jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 252 replies
  • March 20, 2025

Hi ​@hexadec - To ensure you only use custom app user IDs, there are a few things you need to ensure:

  1. Never call configure without passing in a custom user ID
  2. Never call logOut. If you want to login a different user, just call login without first calling logOut
  3. Turn off server purchase tracking (Apple, Google)

Can you ensure these are all completed and let me know if it resolves the issue? Thanks!


Forum|alt.badge.img+2
  • Author
  • Active Member
  • 10 replies
  • March 21, 2025
jeffrey_bunn wrote:

Hi ​@hexadec - To ensure you only use custom app user IDs, there are a few things you need to ensure:

  1. Never call configure without passing in a custom user ID
  2. Never call logOut. If you want to login a different user, just call login without first calling logOut
  3. Turn off server purchase tracking (Apple, Google)

Can you ensure these are all completed and let me know if it resolves the issue? Thanks!

when I turned off this feature , some purchases cannot be visible on revenuecat neither web hook works?

if I turn of this feature I cannot catch user made premium right? 

 



can someone explain me why new alias created after purchase made?


Forum|alt.badge.img+2
  • Author
  • Active Member
  • 10 replies
  • March 21, 2025

still losing users since your system does not detect the user id nor revenuecat id , your system create new account when purchase made lol. what a shame for revenue cat, I am gonna think about change my whole system.. 1 more user..

 



here coming web hook data 

 

 

{

"api_version": "1.0",

"event": {

"aliases": [

"$RCAnonymousID:8791cc8bd2ee4b94a94d15a83f6903c9"

],

"app_id": "",

"app_user_id": "$RCAnonymousID:8791cc8bd2ee4b94a94d15a83f6903c9",

"commission_percentage": 0.125,

"country_code": "FR",

"currency": "EUR",

"entitlement_id": null,

"entitlement_ids": [

"premium_access"

],

"environment": "PRODUCTION",

"event_timestamp_ms": 1742548667139,

"expiration_at_ms": 1774084650000,

"id": "FB3EAEB0-C46E-4E61-B034-D6FE6BD0A5F7",

"is_family_share": false,

"metadata": null,

"offer_code": null,

"original_app_user_id": "$RCAnonymousID:8791cc8bd2ee4b94a94d15a83f6903c9",

"original_transaction_id": "600001932728322",

"period_type": "NORMAL",

"presented_offering_id": null,

"price": 37.977,

"price_in_purchased_currency": 34.99,

"product_id": "foodai_yearly_standart",

"purchased_at_ms": 1742548650000,

"renewal_number": 1,

"store": "APP_STORE",

"subscriber_attributes": {},

"takehome_percentage": 0.85,

"tax_percentage": 0.1667,

"transaction_id": "--",

"type": "INITIAL_PURCHASE"

}

}


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