#danial_error

1 messages ¡ Page 1 of 1 (latest)

glass hornetBOT
#

👋 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/1311096132356538499

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

limber urchin
#

Hi there

carmine helm
limber urchin
carmine helm
#

Hello!

#

hmm no we're not using customer sessions

limber urchin
#

Interesting, okay. So does that mean you've created your own UI for presenting/listing a customer's saved PMs?

#

I thin the issue here is you're passing elements when calling confirmPayment but this appears to be blank?

carmine helm
#

yeah exactly that's the issue but I'm not sure why it's blank?

#

I don't think we're manually presenting/listing the PMs

#

I think that's being handled by PaymentElement which is imported from react-stripe-js

limber urchin
#

You mentioned "When a user uses a card saved on file" but also that you're not using CustomerSessions. How are users selecting a saved card?

carmine helm
#

hmm I'm trying to figure that out now

#

ok looks like it's a link thing

#

when I click on the first button and then click on pay now, that's when I get the error

limber urchin
#

Hm, I can't reproduce this with Link and the deferred intent flow

#

Do you have a link to your test mode page where I can try to reproduce on my end?

carmine helm
#

Well I guess another problem is that I can't really reproduce this locally because I get this following error when I try to click on the use ...4242

limber urchin
#

Hm, I can't reproduce this either. I'm testing with the 4242 test card + Link as well

#

It would be helpful if you have a link to a test mode environment where I can try to play with this

carmine helm
#

Where can I grab this link from?

limber urchin
#

You'd need to deploy your local code to an externally-accessible server

carmine helm
limber urchin
#

Hmm

carmine helm
#

yeah it's weird. Just not sure how to debug it. It just seems like the elements hook is not passing the card details sometimes

#

not sure whyu