#boggerrss
1 messages ยท Page 1 of 1 (latest)
o/
Hi ๐
Yes we have a flow where you create the Payment Method before creating the Payment Intent. You can read about it here https://stripe.com/docs/payments/accept-a-payment-deferred
Ah yes but this still requires me to know the amount right?
You have to declare it, but you can update it as well
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);
It's this one right here: https://stripe.com/docs/js/elements_object/update
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 ๐
No that currently is not possible
Okay, no problem, thanks for all your help