I’m using Stripe Server-to-Server notifications with RevenueCat, and I want to confirm whether it’s possible to automatically set RevenueCat customer attributes from the Stripe metadata included in events such as checkout.session.completed, invoice.paid, or customer.subscription.updated.
Is there a built-in way for RevenueCat to read Stripe metadata and store it as customer attributes (for example, email, app_user_id, or custom fields)?
Or are we required to manually call the RevenueCat POST /customers/{app_user_id}/attributes API to update customer attributes after receiving Stripe webhooks?
Any recommendations or best practices for keeping Stripe metadata synced with RevenueCat customer attributes?
