mozilla / payments-service

This is a web service to support the Mozilla Payments web UI.
Other
5 stars 7 forks source link

Prevent subscribing with email while signed in (fixes mozilla/payments-ui#378) #153

Closed kumar303 closed 9 years ago

kumar303 commented 9 years ago

Fixes https://github.com/mozilla/payments-ui/issues/378

Here's the current problem:

In lieu of a UI fix, this patch raises a form error explaining that you can't make an anonymous donation with an email while signed in. A proper (future) UI fix is probably to hit some kind of API endpoint asking "is this user signed in?" and, if so, fetching their email address. The UI could then pre-populate the email address in the donation form.

muffinresearch commented 9 years ago

r+wc