用于集成全球支付的django应用程序
django-globee的Python项目详细描述
django globee
django globee是一款集成GloBee支付的django应用程序。
您可以找到globee api文档here。
快速启动
- 将“globee”添加到已安装的应用程序设置中,如下所示:
INSTALLED_APPS=[...'globee',]
- 在项目url.py中包含globee urlconf,如下所示:
path('globee/',include('globee.urls')),
- 在项目设置中包括您的globee密钥和test或live env.py
GLOBEE_AUTH_KEY="YOUR GLOBEE X-AUTH-KEY"GLOBEE_TESTNET=True# or False
- 运行
python manage.py migrate
创建globee模型。
示例
见Docs