We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78477eb commit de0b740Copy full SHA for de0b740
2 files changed
.changeset/five-hornets-cheer.md
@@ -0,0 +1,5 @@
1
+---
2
+"@godaddy/react": patch
3
4
+
5
+Update shipping method on change to match correct shipping provider and service for express checkout
packages/react/src/components/checkout/payment/checkout-buttons/express/godaddy.tsx
@@ -1073,6 +1073,9 @@ export function ExpressCheckoutButton() {
1073
},
1074
}));
1075
1076
+ // Update shipping method name to match selection
1077
+ setShippingMethod(e.shippingMethod?.label || null);
1078
1079
// Initialize with current value before potential async update
1080
// Read from refs to avoid stale closures
1081
let updatedAdjustments = calculatedAdjustmentsRef.current;
0 commit comments