Hi, I am creating an extensibilty checkout extension to change the shipping address.
I am using the function “applyShippingAddressChange” but I always get an error in console that it is not a function.
source: https://shopify.dev/docs/api/checkout-ui-extensions/2023-07/apis/checkoutapi#properties-propertydetail-applyshippingaddresschange
even though I specify the field I want to change manually, I still get an error.
I am facing the same issue, I read somewhere it is a scope issue, but I tried a different scope as well. Please update on it if you find a solution.
import {
reactExtension,
Checkbox,
useApplyShippingAddressChange,
} from '@shopify/ui-extensions-react/checkout';
// Choose an extension target
export default reactExtension(
'purchase.checkout.block.render',
() =>
Willy3
4
Hi, any update on this? I’m also facing the same problem!
Willy3
5
1 Like