#azuken_error

1 messages ยท Page 1 of 1 (latest)

past rampartBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

severe basin
#

๐Ÿ‘‹ happy to help

north obsidian
#

Hi !

severe basin
#

which SDK version are you using?

north obsidian
#

Latest, ^8.6.0

#

I can see current typing in lib is :

export interface StripeCheckoutOptions {
  clientSecret: Promise<string> | string;
  elementsOptions?: StripeCheckoutElementsOptions;
  defaultValues?: {
    billingAddress?: StripeCheckoutContact;
    shippingAddress?: StripeCheckoutContact;
  };
}
severe basin
#

yes you're right, we haven't introduced the adaptive pricing prop on the interface yet. for the time being you either need to cast as unknown or use a ts-ignore

north obsidian
#

Ok so it's a known issue and will be resolved in the future? I want to add a comment to remove it when it's done

severe basin
#

yes sure

#

you can also open an issue on github which makes the team more aware of its impact and maybe prioritize it

north obsidian
#

I'll do that ๐Ÿ™‚ thanks !