#alex.esch
1 messages · Page 1 of 1 (latest)
If the payment was created without customer set, guest customer will always be created
hello
created or confirmed?
created or confirmed?
What do you mean by confirmed?
we are creating payment intent
and after that, confirming
our customer can be guest, but can login during the checkout
and the problem in this case, 2 customers are created in stripe
Are they two separate payment intents? Stripe doesn't create customer automatically for Payment Intent
Can you share the customer ID for both existing and guest customers?
Looking into them now
- [2023-05-12 03:37:00 UTC] Payment Intent was created without customer in https://dashboard.stripe.com/logs/req_OWvW85SyqGJWlS
- [2023-05-12 04:36:52 UTC] Payment was succeeded in https://dashboard.stripe.com/logs/req_7nFnQB9MLtGIpS
- [2023-05-12 04:36:56 UTC] Customer ID was then updated in https://dashboard.stripe.com/logs/req_05vPhiRPIizeeY
By the time when the payment was succeeded, guest customer has been created before updating the customer. You should set customer during Payment Intent creation request instead of updating with it later
well, it's not possible
because customer can be a guest which logs in during the checkout
so, steps
- payment intent created
- user continue as guest or login or is logged in already
- shipping info
- billing info
- payment intent completed
If the customer is updated only after the payment is completed, then guest customer will always be created. It's not possible to avoid that