To protect my users I use a UserID to log in and replace the email field in the user with @fake-web.com.
Up till now that has worked well but I new want to use stripe and the fake email is being passed to stripe via its plugin when I try to set up a subscription for a user.
Several fields dont appear to be working properly as I cant find the Client ID supposedly in Settings\Connect Settings.
One method that occurred to me was to create a new user, a copy of the current user but with the correct email. But I am hoping there is a more elegant way.
Chat GPT suggested changing the JS directly and adding a use this
// Subscription Workflow
Create a new Customer in Stripe: Email = Current User's Stripe Email
Subscribe Current User to Plan: Plan ID = Your Plan ID
but I didnt really understand this.
I would be grateful for any help/suggestions. Thanks in advance