mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Return the callback to fix the shipping options update process
This commit is contained in:
parent
f9aa2b565d
commit
f643f9e1d7
1 changed files with 3 additions and 1 deletions
|
@ -606,9 +606,11 @@ const PayPalComponent = ( {
|
||||||
}
|
}
|
||||||
|
|
||||||
return ( data, actions ) => {
|
return ( data, actions ) => {
|
||||||
shouldHandleShippingInPayPal()
|
let shippingAddressChange = shouldHandleShippingInPayPal()
|
||||||
? handleShippingAddressChange( data, actions )
|
? handleShippingAddressChange( data, actions )
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
|
return shippingAddressChange;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue