You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an account owner changes their email address, update the
corresponding Stripe customer record via a background job.
Responsibility chain:
- User::NotifiesAccountOfEmailChange triggers on owner identity change
- Account::Billing#owner_email_changed enqueues sync job
- Account::SyncStripeCustomerEmailJob performs the update
- Account::Subscription#sync_customer_email_to_stripe calls Stripe API
Only owner email changes trigger sync; member changes are ignored.
0 commit comments