#PaymentIntents

1 messages · Page 1 of 1 (latest)

lost escarp
#

hi there! how can we help?

quiet hornet
#

Hi, thanks for your response. I am implementing a payment flow using payment element and payment intent. The flow is when i confirmPaymentIntent, i receive payment method info and i will call api to my server to create customer and attach payment method to it (which i received in confirmPaymentIntent response). But at the same time after i receive payment method info, stripe has a process to create a charge payment (0.5$ in my case because it's minimum amount in payment intent) and this will auto create a guest user if the customer has not been created. Is that right ?

#

because when i check customer page in dashboard, some customer have a guest info with same email, but some other don't

lost escarp
#

can you also share what's the issue you're facing?

quiet hornet
#

the issue is some of my customers have a guest info but some other don't. I don't know exactly when guest customer is created

#

my payment flow is: when user access payment page, i created a PI, when user click on complete purchase, i will call confirmPaymentIntent api and i will receive payment_method. Then i create customer and attach this payment_method to customer.

#

My expect is all off my customers will not have a guest customer, but some of my customer have addition guest customer info

lost escarp
quiet hornet
#

ya i knew it

#

hmm, let me change my question. After i call confirmPaymentIntent api, stripe will have a process to create a payment (0.5$ in my case) right ?

lost escarp
#

assuming that you're confirming a charge for 0.5$, yes

quiet hornet
#

and if at the time the payment create, if payment method isn't tied to a customer, the guest will be create. Is that right ?

lost escarp
#

Can you provide an example guest customer id, or the customer id so that I can take a look at what you're referring to?

quiet hornet
#

ya sure, cus_LNU9fjRU4nbPTv . This customer have an addition guest customer email with same email

#

you can search via email to search guest customer

lost escarp
#

gimme a while to look at this

#

do you have a customer id which you expected to have a guest customer but doesn't have one?

quiet hornet
#

cus_LN5uJmqLyXUQo8
my expect is all my customers don't have guest customer

#

the issue is with one payment flow but some customer have and some other dont

lost escarp
#

okay, this is odd, and I can't figure out why. It's going to take a while to investigate this. Sorry to redirect you, but can you write in to Stripe Support about this - https://support.stripe.com/contact/ and provide the two example Customer ids?

The guest customers don't affect your application's functionality so you can actually just ignore the guest customer creation.