#Eat your food Tina
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
Could you please give more context?
What do you mean by "starting a payment with an email"?
You are using Payment Links correct?
I mean a new subscription plan
With a payment link
Using an email that’s already been used by someone else
Would an error be displayed?
No, it will create a new Customer object. Customers can have the same emails
Oh I see
Would that prevent a different customer from being able to cancel their subscription? If they have the same email with a different subscription plan
How do your customers cancel the Subscriptions?
Using the customer portal
You pass the Customer ID which is unique, so it should not be an issue: https://stripe.com/docs/api/customer_portal/sessions/create#create_portal_session-customer
It would keep the configuration I made on the dashboard?
Also, where can I find an example of working with a webhook event that I assume posts a customer object to an endpoint? For when a subscription is created. Like how to access the customer id within the event object
I don't understand what you're asking
I already configured a customer portal on my dashboard. If I pass in a customer id to generate a portal session, would it keep my current configuration?
Oh I see I have to also pass in a id of an existing configuration I made
Yes, if you're using the API to generate sessions you need to pass a bpc_xxx ID