Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Use State Abbreviation in Checkout Helper #287

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def braintree_3ds_options_for(order)
streetAddress: bill_address.address1,
extendedAddress: bill_address.address2,
locality: bill_address.city,
region: bill_address.state&.name,
region: bill_address.state&.abbr,
postalCode: bill_address.zipcode,
countryCodeAlpha2: bill_address.country&.iso,
},
Expand All @@ -31,7 +31,7 @@ def braintree_3ds_options_for(order)
streedAddress: ship_address.address1,
extendedAddress: ship_address.address2,
locality: ship_address.city,
region: ship_address.state&.name,
region: ship_address.state&.abbr,
postalCode: ship_address.zipcode,
countryCodeAlpha2: ship_address.country&.iso,
}
Expand Down