This is the source code for the sample app that was used during the code lab at GDG Kuwait's weekly session on Feb 11, 2015.
- Sign up for a Google Cloud Account (its free!)
- Install the Google App Engine SDK for Python
- Create a project
- Authenitcate yourself to Google cloud, by running
gcloud auth loginat your terminal (you only need to do this once). - If there are any component updates, you can install them with
gcloud components update
Note down the name of your project, which you'll need later on.
You will also need a sample resource file resource.cgn, which you can obtain from your bank. Place this file
in the same location as main.py.
To deploy the application:
- Clone the repository
- Update the
app.yamlfile and replacegdg-knetwith the name of your project. - Edit
main.pyand replaceALIAS = 'aub'with the alias for your terminal. - Upload the project by typing
appcfg.py update /path/to/the/repository - Visit the URL for your project
http://your-project-name.appspot.com/
For more information on the transaction process,
see the documentation for e24PaymentPipe