#feminaagravat_39821
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
You mean you get Customer objects with the same email?
That's normal, email is not a unique field for a Customer. You will need to first check if there's a Customer with an email, and then use it in the Checkout Session: https://stripe.com/docs/api/customers/list#list_customers-email
If we want to start recurring for it , then multiple record will create an issue
Which payment method we should use for recurring ? Checkout or any other ?
Please read what I wrote above, carefully ☝️
Stripe Checkout is not a "payment method". But it's perfectly fine for creating Subscriptions.
But If i pass email address it becomes readonly on checkout page and user can't edit it. What if they want to edit it
You can ask for the email address on your website.
Also, it's not an issue if you have multiple Customers with the same address, if you want to keep your integration simple.
But I understand your concern.
Ok Thank you , I am having challenges with recurring on website.
What's the challenge?
We have custom products and add-on so can't create on Stripe.
Also our customer renew earlier then we provide discount.
So i want subscription to start on specific date.
- "We have custom products and add-on so can't create on Stripe." Do you mean you create a unique price for each Subscription? You can use
price_datato setamountdynamically: https://stripe.com/docs/api/subscriptions/create#create_subscription-items-price_data
- I am not sure what you mean by "customer renew earlier then we provide discount."
No worries, I am trying to figure out the solution. Thank you for help . I will reach out to you once i have any doubt.
Happy to help!