#blade-elements-finalizeserver
1 messages · Page 1 of 1 (latest)
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?
Here's is screenshot
stripes. It comes bundled in library.
const elements = useElements();
I also don't see it in the types definition
ah yeah looks like we missed it. I'd suppress the warning for now, and I'll flag internally
I see here here https://github.com/stripe/stripe-js/blob/27bd0271/types/stripe-js/elements-group.d.ts#L69 but Typescript is not my forte so trying to debug this
Awesome thanks. What about the other question?
I assume it's the same thing, mostly just Typescript issues?
Yeah.
const options: StripeElementsOptions = {
...stripeAppearanceOptions,
mode: 'payment', // these 3 do not exist
currency: 'usd',
paymentMethodCreation: 'manual',
}
yeah so for now I'd suppress the warnings and I'll flag internally to get this fixed
Thanks! You're the best!
Like it's here too https://github.com/stripe/stripe-js/blob/27bd0271/types/stripe-js/elements-group.d.ts#L743 but maybe something isn't exported properly
@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
Yeah. I was using an older version definitely. Sorry about that ðŸ«