#MarkoBoras
1 messages · Page 1 of 1 (latest)
Is it possible to make if user with same e-mail is buying through checkout multiple times to have only 1customer with single customer id
No.
You can create this logic in your integration and findOrCreate a Customer before creating the Checkout Session with the customerId
can I somehow retrieve all payments with some customer email so I can retrieve all that data and display it to user?
First you search for customers by email:
https://stripe.com/docs/api/customers/search
The you list all payments by each customer:
https://stripe.com/docs/api/payment_intents/list#list_payment_intents-customer
tnxxx