WebAPI/Direct Billing: Difference between revisions

Jump to navigation Jump to search
Line 73: Line 73:
=== mozDirectBilling.iccIds example ===
=== mozDirectBilling.iccIds example ===


A payment provider typically sets up direct billing with SMS. After it's set up the provider can provider payments over WiFi by storing a cookie on device. The <code>iccIds</code> can be used to know when a SIM card is swapped so that the cookie can be deleted.
A payment provider typically sets up direct billing with SMS. After it's set up the provider can enable payments over WiFi by storing a cookie on device. The <code>iccIds</code> can be used to know when a SIM card is swapped so that the cookie can be deleted.


=== mozDirectBilling.mcc and mozDirectBilling.mnc example ===
=== mozDirectBilling.mcc and mozDirectBilling.mnc example ===


In order to show the user a correct price for their region, the payment provider can use the '''mcc''' and '''mnc''' codes. These codes can also be used to enable/disable specific regions when payments are not supported or still in development.
In order to show the user a correct price for their region, the payment provider can use the '''mcc''' and '''mnc''' codes. These codes can also be used to enable/disable specific regions when payments are not supported or still in development.
Confirmed users
324

edits

Navigation menu