Closed Bug 784769 Opened 12 years ago Closed 6 years ago

[WebPayment] Allow users to select a prefered currency

Categories

(Core :: DOM: Device Interfaces, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: ferjm, Unassigned)

Details

We need to create a setting to let the users select their prefered currency, so it appears as default one when showing the payment request information.
Blocks: 767818
This sounds important if we're dealing with multiple countries. Is this worth noming to block ship?
(In reply to Jason Smith [:jsmith] from comment #1)
> This sounds important if we're dealing with multiple countries. Is this
> worth noming to block ship?

IMHO, this is just a nice to have. It must not block basecamp.
Currently we can just show the first currency or add a 'defaultCurrency' extra parameter in the JWT. The user will see his prefered currency in the payment provider flow.
We shouldn't show another currency if the payment will not be done in that currency. Otherwise, what the user will see will not be what the user will actually pay!
(In reply to Mounir Lamouri (:mounir) from comment #3)
> We shouldn't show another currency if the payment will not be done in that
> currency. Otherwise, what the user will see will not be what the user will
> actually pay!

We are returning the full list of prices to content, so we can show the whole list (in a dropdown menu or whatever, it's up to UX to decide how to show it). I am just suggesting that until we have a setting for the prefered one, we can show the first one as default or maybe use the 'defaultCurrency' parameter if available.
No longer blocks: 767818
How is this a relevant client side issue? In the current design, currency selection will be handled by the payment provider https://wiki.mozilla.org/WebAPI/WebPaymentProvider
Doesn't it still apply when we have multiple payment providers and so the client displays UI to allow selecting payment provider?
This might not be something we worry about for v1 if we only whitelist one payment provider there. But this bug isn't marked as a basecamp blocker...
(In reply to Jonas Sicking (:sicking) from comment #6)
> Doesn't it still apply when we have multiple payment providers and so the
> client displays UI to allow selecting payment provider?

Yes, we still need this on the client side. But, indeed, not for v1.
Summary: [WebbPayment] Allow users to select a prefered currency → [WebPayment] Allow users to select a prefered currency
Removing tracking bug - this isn't a v1 blocker.
No longer blocks: marketplace-payments
Ah, I misunderstood this at first. A user preference that the device can "broadcast" to payment providers makes sense. I get it now.
More mass-incompleting of FxOS bugs in the Device Interfaces component.

Please update and let me know if any of these are still valid.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.