GNOME Bugzilla – Bug 632979
m-b-p-i: no way to specify recharge information
Last modified: 2011-03-19 16:17:50 UTC
It's great that mobile-broadband-provider-info already stores the account balance information. Since using pre-paid cards in foreign countries rather than roaming is quiet widespread it would be great if it would also store the information on howto "top up" (reload) your credit. <reload method="ussd" type="code"> <prefix>*130*</prefix> <postfix>#</postfix> </reload> would indicate that to top up the credit one would use: *130*CODE# where CODE is the code printed on the bill when buying the "top up". Would extending the schema in this direction make any sense to you?
Yeah, it would. Do you know any other recharge methods in-use besides this type of code method? I'll try and find out too but anything you could find out about other providers in Europe or elsewhere would be valuable. Just to make sure we get it mostly right the first time :)
Besides USSD sending an SMS with the specific text seems to be quiet common: http://www.prepaidanbieter.net/guthaben/simply-guthaben-aufladen/ The text in this case is no pin code but a fixed text message. The provider will then charge money from the bank account (you had to provide when buying the buying the prepaid card). So in this case one would have something like: <reload method="sms" type="fixed-message"> <number>77277</number> <msg>TopUp</msg> </reload>
Created attachment 174128 [details] [review] Extend schema to allows for credit top up Attached patch allows for credit top up information like: <credit-top-up> <ussd replacement="CODE">*130*CODE#</ussd> </credit-top-up> The replacement attribute allows to specify a string that should be replaced by user input. So if the code printed on the bill to top up the balance is 123456789012 the ussd would become: *123*123456789012#. Doing it this way instead of like #c1 makes credit-top-up and balance-check more similar. For SMS we have: <credit-top-up> <sms text="bla">123</ussd> </credit-top-up> since all I found are fixed text messages as described in #c2.
Created attachment 174129 [details] [review] Credit top up information for swisscom Credit top up information for swisscom as working example for the DTD extension.
Created attachment 174786 [details] [review] Extend schema to allow for credit top up Change credit to balance as discussed via mail.
Created attachment 174787 [details] [review] Credit top up information for swisscom and some german providers Change data to new schema and add more providers.
Any chance this gets merged? I'd like to use this in ppm: https://honk.sigxcpu.org/piki/projects/ppm/
Is there anything I can do to get this applied?
Dan: Ping
Argh, thanks for the ping. I'm embarrassed this bug got left for so long. Patches are great, pushed as: a8fe254472b2aaf1ab047f2d2a88d183826c9e1c e9fd05415541cea1f011959473c6fffa14dca348 I can tag a new release if you'd like? Let me know.