Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add postal addressing extras plugin #1

Open
AzMoo opened this issue Dec 29, 2019 · 0 comments
Open

Add postal addressing extras plugin #1

AzMoo opened this issue Dec 29, 2019 · 0 comments

Comments

@AzMoo
Copy link
Contributor

AzMoo commented Dec 29, 2019

Provide an extras plugin similar to lorikeet.extras.stripe that accepts postal addresses.

We can solve the i18n problem reasonably well with the same approach as Drupal Commerce, by using data from Google's Address Data Service. This data is documented (with links to a different URL, which appears to contain the same data at first glance) on the Google libaddressinput project, which also has C++ and Java libraries that use it.

Some users (for instance, those shipping via courier) will need to accept phone numbers as well; for that, Google has libphonenumber, which has a third-party Python port.

Users should be able to optionally whitelist/blacklist countries in settings.py.

Not quite sure how this would interact with the frontend yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant