Skip to main content

django wechat pay, fixed view error

Project description

快速开始:

安装django-wechat-pay:

pip install django-wechat-pay

修改settings.py文件:

INSTALLED_APPS = (
    ...
    'wechat',
    'wechat_pay',
    ...
)

在settings.py文件底部添加:

# wechat config
WECHAT = [
    {
        'appid': 'demo',
        'appsecret': 'demo',
        'token': 'demo',
        'mch_id': 'demo',
        'key': 'demo',
        'body': 'demo',
    },
]

版本更改:

  • v0.1 第一版

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-wechat-pay-0.0.6.tar.gz (4.1 kB view hashes)

Uploaded source

Built Distribution

django_wechat_pay-0.0.6-py3-none-any.whl (6.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page