We're currently doing MCC/MNC lookups differently in webpay (and now the SPA). WEBPAY: MNC/MCC extraction for transaction configuration: https://github.com/mozilla/webpay/blob/master/media/js/cli.js#L67 MNC/MCC checking for sim changes (Bango logout): https://github.com/mozilla/webpay/blob/master/media/js/pay/bango.js#L24 Right now this code is exactly the same in Spartacus. Short term we need to consolidate this and have it work the same way for both lookups. Long term we need to workout exactly how to implement multi-sim as utilising mozPaymentProvider.paymentServiceId as per https://wiki.mozilla.org/WebAPI/WebPayment/Multi-SIM#Firefox_OS_v1.4 seems like it will introduce complications. This bug is to decide on the short term solution and work out what bugs we need to solve the longer-term multi-sim flows without making for a completely over-complicated flow for end-users.
Better still let's have this bug solely about the short-term inconsistency. Will raise another bug for the longer-term plan.
See Also: → bug 1035849
Summary: Make MNC/MCC checking consistent → [multi-sim] Make MNC/MCC checking consistent
Could possibly be a duplicate/dependency of bug 991496?
(In reply to Christopher Van Wiemeersch [:cvan] from comment #2) > Could possibly be a duplicate/dependency of bug 991496? Is that the right bug number? I don't see the relationship to constants.
Based on the recently announced future plans for the Marketplace to remove payments, closing these bugs.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.