#johnathan_unexpected
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1389308899261288541
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
It shows up initially, but after several uses, multiple users of my app have reported the Link option "disappearing".
Do you mean the Payment Sheet renders the Link initially, then disappears later in the same payment session? Or do you mean that the Link doesn't show up at all?
I mean across payment sessions. i.e. you make a few purchases using link and then later you go to make another purchase and it's no longer showing up at all.
If it helps, the way I invoke "initPaymentSheet" looks like this:
return initPaymentSheet({
merchantDisplayName: 'Pug Sports Ltd.',
customerId: customer,
customerEphemeralKeySecret: ephemeralKey,
paymentIntentClientSecret: paymentIntent,
defaultBillingDetails: {
name: `${userData.firstName} ${userData.lastName}`,
email: userData.email ?? undefined,
phone: undefined,
address: undefined,
},
})
I've confirmed email is always defined, but first and last name sometimes aren't, so I don't know if that could cause this?
Could you share an example Payment Intent (pi_123) that doesn't have Link shown?
Wish I had sentry logging this.. Let me try to dig one up!
here's one I did yesterday when link wasn't available, so I used a debit card: pi_3RfHCiGk6Q1TwpAT151E5LDj
oddly I am seeing billing_details.email: null in that payment intent... ๐ค Would that cause this?
Hello
Taking over here
Give me a moment
There might be some A/B experiment going on our end which is causing this
oh, interesting. Any way for me to help you confirm?
I should be able to confirm this internally, hang on
I've reached out to our link team to confirm this and omit your account from the experiment if it is indeed part of it
Thank you! Just confirming, this would be for all users of my app, not just my customer account or connected account, right?