#blade-elements-finalizeserver

1 messages · Page 1 of 1 (latest)

lucid etherBOT
tidal hamlet
#

blade-elements-finalizeserver

#

Hey @stark pumice can you explain #1? What does that mean "does not exist"? Can you share some exact code + what the error is?

stark pumice
#

Here's is screenshot

tidal hamlet
#

This feels like a Typescript error

#

what types are you using?

stark pumice
#

stripes. It comes bundled in library.

#

const elements = useElements();

#

I also don't see it in the types definition

tidal hamlet
#

ah yeah looks like we missed it. I'd suppress the warning for now, and I'll flag internally

stark pumice
#

Awesome thanks. What about the other question?

tidal hamlet
#

I assume it's the same thing, mostly just Typescript issues?

stark pumice
#

Yeah.

#
  const options: StripeElementsOptions = {
    ...stripeAppearanceOptions,
    mode: 'payment', // these 3 do not exist 
    currency: 'usd',
    paymentMethodCreation: 'manual',
  }
tidal hamlet
#

yeah so for now I'd suppress the warnings and I'll flag internally to get this fixed

stark pumice
#

Thanks! You're the best!

tidal hamlet
tidal hamlet
#

@stark pumice I talked to the team about it and they think you might be using an out of date package instead

#

Is it possible you forgot to update @stripe/react-stripe-js or @stripe/stripe-js

stark pumice
#

Yeah. I was using an older version definitely. Sorry about that ðŸ«