Closed Bug 941952 Opened 11 years ago Closed 10 years ago

Detect and store region/carrier data in Webpay

Categories

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

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: kumar, Assigned: scolville)

References

Details

(Whiteboard: [spa])

Unlike Bango, we will send this data from Webpay to Zippy:

        carrier = 'USA_TMOBILE'
        region = '123'
        pay_method = 'OPERATOR'
        price = '0.99'
        currency = 'EUR'

The actual values will be derived from a few factors, mainly the MCC/MNC from window.mozPaymentProvider.

This bug is to pass in real values.
Blocks: 936110
Priority: -- → P2
Assignee: nobody → scolville
This is mostly frontend stuff, checking MCC/MNC, but you can ping me when you get to the backend part. I have a TODO comment that is currently here (not yet landed) https://github.com/mozilla/webpay/pull/343
Blocks: 942361
Version: 1.4 → 1.5
Status: NEW → ASSIGNED
Status: ASSIGNED → NEW
Whiteboard: [spa]
Depends on: 837289
Depends on: 987824
Summary: Send region/carrier data from Webpay to Zippy → Detect and store region/carrier data in Webpay
Blocks: 987661
We need this for Boku because the payment provider abstraction that we started for Zippy has these values hard coded. https://github.com/mozilla/webpay/blob/master/lib/solitude/api.py#L243-L245
Nah, scratch that. Boku will do its own region detection and it can use the array of prices just like Bango
No longer blocks: 987661
The title makes it sound very similar to bug 987824, can we dupe?
No longer depends on: 837289
Actually, this bug was intended to patch Zippy but I don't think it's important now that I've made an adapter layer in webpay for each payment provider. bug 987824 will be the thing we need for Boku
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.