#bojack420
1 messages · Page 1 of 1 (latest)
` const options = {
amount: total, // Amount in cents
mode: 'payment',
currency: 'aud',
setup_future_usage: 'off_session',
};
// Create new elements and express checkout element
const elements = this.stripe.elements(options);`
this is the amount im talking about
You can use elements.update() - see https://stripe.com/docs/js/elements_object/update#elements_update-options-amount
thats exactly what i was looking for. thank you so much