#twinkle0293

1 messages · Page 1 of 1 (latest)

still bayBOT
humble cloud
#

Hi there!

#

I'm not sure I understand the question. What do you mean by "another customer is also seeing the same email id when we create the payment_intent_request"? Can you share a concrete example of this issue?

feral crypt
#

hi, so we are creating a payment intent and using link type payment for a customer. Now when we are creating the payment intent for another customer and they also opt in for link, link element auto populates the email id used by the previous customer.
https://dashboard.stripe.com/test/payments/pi_3NrdiEHFzwE4pTge1Sw58rg4
this is one of the payment intent where link is autopopulating the email id of another user

humble cloud
#

So you are using PaymentIntent + Payment Element, and Link is pre-filled with the wrong email? How do you know the email is wrong?

feral crypt
#

because even before putting in the email, it autopopulated with the email that was used for another customer

humble cloud
#

Are you using the same device/browser as the other customer?

feral crypt
#

So right now I am testing in the dev environment. But in reality, same office handles creating the payment intents for multiple customers, so in a way, all the users will be using the same device/browser since a single office will be handling their payments

humble cloud
#

So I guess that's the issue. Links use cookies to know if you are a returning customer. So if you have a Link account on a device, and then create a new PaymentIntent, Link will be autofilled.

feral crypt
#

but is there a way to handle it? Since the office will be using the same device for filling all its customer's information, we should have an identifier to only populate the email id used by one customer again and not populate it for every customer?

humble cloud
#

I don't get it. It's the customer themselves that should fill out the form from their own device, no?

feral crypt
#

nope, so office can ask customers to fill in their card details on the office device and make the payment.