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

state: '#{address.state.name}' undefined for Hong Kong address (or countries with no states) #182

Closed
octave opened this issue Aug 21, 2018 · 0 comments · Fixed by #237
Closed

Comments

@octave
Copy link

octave commented Aug 21, 2018

state: '#{address.state.name}' in the payment view is undefined for Honk Kong addresses or other country with no state. Quick fix is to do state: '#{address.state ? address.state.name : ""}'.

@octave octave changed the title state: '#{address.state.name}' undefined for Hong Kong address state: '#{address.state.name}' undefined for Hong Kong address (or countries with no states) Aug 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant