Closed Bug 858806 Opened 11 years ago Closed 11 years ago

Currency displayed should match the language/region selection

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P1)

Other
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

VERIFIED FIXED
2013-04-18

People

(Reporter: krupa.mozbugs, Assigned: andy+bugzilla)

References

Details

(Whiteboard: p=1)

steps to reproduce:
1. Set the language on your unagi phone to Polski
2. Launch marketplace-dev app 
3. Check the language/region selection under Settings. It should be set to Polski/Polska
4. Navigate to the details page for a paid app

expected behavior:
Price is shown in local currency i.e., zloty(zl)

observed behavior:
Price is always shown in USD irrespective of locale/region selection.
If you reload the app does it work? I'm pretty sure this will be fixed with bug 844964.
Assignee: nobody → amckay
Priority: -- → P1
Whiteboard: p=1
Target Milestone: --- → 2013-04-18
We added in the ability for developers to choose what currency they wanted to sell their app in. This is because Paypal was complicated with currencies, you had to maintain a level of each currency. 

This is something you don't have to do with Bango. I'm just going to remove that lookup.

Secondly, the payment code hooks up languages to currencies using amo.LOCALE_CURRENCY. We don't have that in marketplace, they are all in region objects.
https://github.com/mozilla/zamboni/commit/2a6992
https://github.com/mozilla/zamboni/commit/42dc23
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
This works in -dev but not on stage. Are there any flags/settings we need to change to get this working on stage?
It also works on stage after relaunching the app ---> verified fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.