#boggerrss

1 messages ยท Page 1 of 1 (latest)

elder micaBOT
civic orbit
#

o/

modest edge
civic orbit
#

Ah yes but this still requires me to know the amount right?

modest edge
#

You have to declare it, but you can update it as well

civic orbit
#

Would you be able to point me to the right guide for updating the options that gets passed into stripe.elements, or can I just update the below object it will be reactive

  const options = {
    fonts: [
      {
        cssSrc: `https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700`,
      },
    ],
    mode: 'payment',
    layout: "tabs",
    amount: 1000,
    currency: 'usd'
  };

  const elements = window.stripe.elements(options);
modest edge
civic orbit
#

Thanks alot ๐Ÿ™‚

I've noticed that the card element in this payment element is a lot larger that the older card element that I was using, is there a way to flatten that to a single line again?

Last question ๐Ÿ˜„

modest edge
#

No that currently is not possible

civic orbit
#

Okay, no problem, thanks for all your help