|
Project Information
Featured
Downloads
Links
|
SMS Bulletin BoardSMS Bulletin Board is a simple application on top of Google App Engine to make use of Fortumo's Premium SMS-connectivity service to receive and handle mobile payments in the form of SMS messages. You can use this application as a skeleton to build your own SMS applications on top of it. The application is able to receive message notifications from Fortumo, store the message data in the database and display 100 most recent messages in the frontpage of the application. DemoDemo is available at smscharty.appspot.com (NB! Not all the countries that are supported by Fortumo are available to use in the demo) InstallationInstallation instructions are given in INSTALL. Basically you need to register a new Google App Engine application in here, create a new Premium SMS-connectivity service, update app.yaml and fortumo.yaml accordingly and deploy the newlycreated application to Google App Engine servers. NB! While creating the Premium SMS-connectivity service at Fortumo you need to check that the character encoding for the requests is UTF-8! Otherwise any special characters in the message would break the receiving script and no money is added to your account for that message. Additional informationThe application consists of 2 Python files, one (main.py) handles the requests (both for SMS traffic and web frontpage), the other one (fortumo.py) provides logic to validate the requests from Fortumo. General settings for the application reside in app.yaml (this is where you change the application ID) and service specific settings are set in fortumo.yaml (service ID, secret, country list etc.). front.html acts as a template for the front page. You can read more about templates here. Source codeYou can check out the source from the Subversion repository with svn checkout http://sms-bulletinboard.googlecode.com/svn/trunk/ sms-bulletinboard-read-only |