#josh-unger_unexpected

1 messages ¡ Page 1 of 1 (latest)

weary iceBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

gloomy coral
#

Also curious why selectedPaymentMethod can't always be returned. That would be helpful for logging but it is a separate question. Because once Stripe Payment Element loads, don't we know which radio is selected?

void lily
#

Hello
I'm not aware of selectedPaymentMethod property for Stripe Payment Element.
Is there a guide or a doc you're following that I'm missing here?

gloomy coral
void lily
#

I see. Have you been able to reproduce this behavior or is this only being caused randomly?

gloomy coral
#

Random

#

Is there a debug setting I can enable that will give me more output that would help?

#

I gotta run for a tiny bit but I'll be back.

void lily
#

Is there a debug setting I can enable that will give me more output that would help?
Unfortunately, not

gloomy coral
#

But this feels like a bug in Stripe since the docs say error or selectedPaymentMethod should be returned.

void lily
#

It would be returned if elements.submit() succeeds

#

I'd say add additional logging to your elements.submit() code to identify if the function is really succeeding/failing when selectedPaymentMethod is null

#

Once you have an example, our team can look deeper