I’m currently using Stripe Server Notifications in RevenueCat, and I’ve found that I cannot directly update customer attributes from this flow. Because of this limitation, I implemented the following approach and would like to get feedback on whether it’s safe, reliable, and recommended.
The approach I’m using:
-
I create a RevenueCat customer using the user’s sessionId as the
app_user_id -
After creating the customer, I update their attributes—for example, adding the user’s email.
-
In RevenueCat, I configured it so that metadata is pulled from the
app_user_idassigned to the customer. -
During checkout, Stripe Server Notifications correctly map the transaction to the RevenueCat customer using this
app_user_id.
My question:
Given that Stripe Server Notifications do not allow updating attributes directly, is this an appropriate and safe approach?
-
Are there any risks, edge cases, or potential issues with this method?
-
Would the community recommend a better alternative?
I’d really appreciate any insight or suggestions to ensure this setup is stable and optimal.
Thanks!
