#zerosodium
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Which web component are you referring to exactly?
When you say dynamic shipping, do you mean adding shipping options in Google Pay/Apple pay modals?
I believe you can listen for shippingaddresschange event
https://stripe.com/docs/js/elements_object/express_checkout_element_shippingaddresschange_event
and handle shipping rate calculation there
lmk if that helps @chilly hare
we would need to dynamically calculate shipping rates based on a user's inputted shipping address. so we could use this callback to update the shipping options and prices, yes?
and ty for the timely response ๐
yup
the event would get you selected shipping address, you can calculate shipping rate there and update the payload when you call resolve
which should update the shipping rate
thanks!
NP! ๐ Happy to help
does that apply to all the Express Checkout methods (Apple Pay as well as Google Pay, etc.)?
It should, yes
sweet! you can close now hehe