#vincent_unexpected

1 messages ยท Page 1 of 1 (latest)

regal yewBOT
#

๐Ÿ‘‹ 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/1331388246747517065

๐Ÿ“ 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.

bright mirage
#

for clarity, when I initialize <Elements> i am passing these options:

#
    mode: "payment",
    amount: 50, // TODO: Replace with cart total.
    currency: "usd", // TODO: Replace with cart currency.
    setupFutureUsage: "off_session",
    fonts: [
      {
        family: "CircularXX",
        src: "url(https://fonts.ritual.com/Circular/Book/css/fonts/CircularXXWeb-Book.woff2)",
      },
    ],
    // Customizable with appearance API.
    appearance: {
      theme: "stripe",
    },
  };```
#

on update:

#
  return {
    mode: cart.requiresPaymentIntent ? "payment" : "setup",
    amount: cart.total,
    currency: cart.currency,
    ...(recurringItems && { setupFutureUsage: "off_session" }),
    appearance: stripeAppearanceConfig,
  };```
tawny spire
#

Hi there

#

Do you happen to have a link to a page where I can try to reproduce the issue?

bright mirage
#

only our production url presently

#

like i said the chance that you would run into it is slim

tawny spire
#

I see, okay

#

Is there any additional logging you could add?

bright mirage
#

where might i put such logs?

#

the payment element is doing its thing in an iframe so apart from the configs i pass in im not sure where i can learn more.

tawny spire
#

I see, okay.

bright mirage
#

ever hear about an issue like this?

tawny spire
#

If you can spin up some test environment where we can try to reproduce, that might be the only path forward. I have not heard of an issue like this before

bright mirage
#

ok got it. thanks for hearing me out a little

#

might be on a boondoggle here

#

if i figure out a way to repro i'll be back ๐Ÿ™‚

#

thanks a lot!

tawny spire
#

Sure thing!