#karima-ali_code

1 messages ยท Page 1 of 1 (latest)

kind bayBOT
#

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

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

foggy parcelBOT
green nest
#

๐Ÿ‘‹ happy to help

wheat spear
#

hi

#

any idea how i reload the button options like amount based on clicks on my page

green nest
#

taking a look, please give me a moment

wheat spear
#

i should add all the code again every click

#

sure

green nest
#

you want the change to happen when the user adds more items or if it's about a shipping address change within the ApplePay/GooglePay?

wheat spear
#

not about the shipping ,it about amount i add different price evrytime i need
const options = {
mode: 'payment',
amount: 1099,
currency: 'usd',
// Customizable with appearance API.
appearance: {/.../},
};
this to be changed every time and reolad google pay button with new amount everytime

green nest
wheat spear
#

checking

#

thanks elements.update({amount: 8888}) worked for me