WeiXinPaySDK是基于微信支付开发的sdk
Project description
WeiXinPaySDK
介绍
WeiXinPaySDK是基于微信支付开发的sdk
demo
# -*- coding: utf-8 -*-
from WeiXinPaySDK.Pay import Order, Bill
from WeiXinPaySDK.manage import payscore, PayScoreOrder, ServicePeople
# 创建支付订单
order = Order(mode="Native")
new_order = order.create_order(appid="", mchid="", description="", out_trade_no="", notify_url="",
amount={"total": 0.1})
print(new_order)
# 申请交易账单
bill = Bill(mode="Native")
bl = bill.apply_trade_bill(bill_type="")
print(bl)
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
WeiXinPaySDK-0.0.4.tar.gz
(16.8 kB
view details)
Built Distribution
File details
Details for the file WeiXinPaySDK-0.0.4.tar.gz
.
File metadata
- Download URL: WeiXinPaySDK-0.0.4.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c34474be8a79a3fb3e5fcc62fb38297b08ec6858d17f49deba80315eaf4d1f70 |
|
MD5 | 20938739d7f8c724ce91db4ae04be698 |
|
BLAKE2b-256 | 23aca9563e9c69498f4ad998a7aaa7d43d7b854913960a4a70fde41c25417705 |
File details
Details for the file WeiXinPaySDK-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: WeiXinPaySDK-0.0.4-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c8669dbfc55da4f976248c73de907e3042bda62c62d47aad2f75412fa0b5ffa |
|
MD5 | dcd1b29b30d3433f93e5f2fe41da5440 |
|
BLAKE2b-256 | f8cecce2b93e4f09d16f48b5e708f19d45e71c297bcd43569eb7bce63434cf77 |