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

Checkout serializer missing allow_blank=True #42

Open
thenewguy opened this issue Apr 11, 2024 · 0 comments
Open

Checkout serializer missing allow_blank=True #42

thenewguy opened this issue Apr 11, 2024 · 0 comments

Comments

@thenewguy
Copy link

Probably related to #29 and #30 but mentioning issue so it is tracked.

It would be helpful for situations where a customer genuinely does not have an email address to allow checkout without one.

The Order model does not require an email address but the Checkout serializer does.

Simplest workaround I've come up with for the moment is to submit with an email placeholder and then remove it with a pre_save signal.

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