Features:
- Stripe integration including ApplePay
- Paypal integration
- Gathers analytics and customer reviews
- Prototyped on Django to provide database access to editing outstanding payments and creating new orders.
- Credential management with git-secret
- Highly suggested to be familiar with Django, especially how settings, models, and urls function.
- Setup git-secret
- Get credentials for Stripe and Paypal:
- Create a credentials.json in the resources folder, the default structure for this project is as follows:
{
"secret": "", // This is the csrf key django uses
"db_engine": "django.db.backends.mysql", // Use whatever engine your database instance will be
"db_name": "",
"db_user": "",
"db_password": "",
"db_host": "",
"db_port": "",
"stripe": {
"api_key": "" //API Key for Stripe
},
"paypal": {
"client_id": "", // Credentials for Paypal
"client_secret": ""
}
}
- Locally, it is acceptable to use the sqlite3 database. This is used when the
setting.pyconfig is used for environment setup. For deployment seesettings_server.py. - Start server with Django's
runservercommand.
