Skip to main content

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)

Metadata

Release files for WeiXinPaySDK 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for WeiXinPaySDK 0.0.4
File Size Uploaded
WeiXinPaySDK-0.0.4.tar.gz 16.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for WeiXinPaySDK 0.0.4
File Interpreter ABI Platform
WeiXinPaySDK-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 36.0 kB

Release files / WeiXinPaySDK-0.0.4.tar.gz

Download URL WeiXinPaySDK-0.0.4.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c34474be8a79a3fb3e5fcc62fb38297b08ec6858d17f49deba80315eaf4d1f70
BLAKE2b-256 checksum
How to use checksums
23aca9563e9c69498f4ad998a7aaa7d43d7b854913960a4a70fde41c25417705
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.7.3

Release files / WeiXinPaySDK-0.0.4-py3-none-any.whl

Download URL WeiXinPaySDK-0.0.4-py3-none-any.whl
Size 19.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c8669dbfc55da4f976248c73de907e3042bda62c62d47aad2f75412fa0b5ffa
BLAKE2b-256 checksum
How to use checksums
f8cecce2b93e4f09d16f48b5e708f19d45e71c297bcd43569eb7bce63434cf77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page