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 hashes)
Built Distribution
Close
Hashes for WeiXinPaySDK-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c8669dbfc55da4f976248c73de907e3042bda62c62d47aad2f75412fa0b5ffa |
|
MD5 | dcd1b29b30d3433f93e5f2fe41da5440 |
|
BLAKE2b-256 | f8cecce2b93e4f09d16f48b5e708f19d45e71c297bcd43569eb7bce63434cf77 |