mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
🐛 Make the state shipping address data optional in the Fastlane Block Checkout to fix non US-CA compatibility
This commit is contained in:
parent
2c59a006f5
commit
0be7304b11
2 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ export const populateWooFields = (
|
|||
address_1: address.addressLine1,
|
||||
address_2: address.addressLine2 || '',
|
||||
city: address.adminArea2,
|
||||
state: address.adminArea1,
|
||||
state: address.adminArea1 || '',
|
||||
postcode: address.postalCode,
|
||||
country: address.countryCode,
|
||||
phone: phoneNumber.nationalNumber,
|
||||
|
|
|
@ -32,7 +32,7 @@ export const useShippingAddressChange = ( fastlaneSdk, setShippingAddress ) => {
|
|||
address_1: address.addressLine1,
|
||||
address_2: address.addressLine2 || '',
|
||||
city: address.adminArea2,
|
||||
state: address.adminArea1,
|
||||
state: address.adminArea1 || '',
|
||||
postcode: address.postalCode,
|
||||
country: address.countryCode,
|
||||
phone: phoneNumber.nationalNumber,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue