Skip to main content

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)

Uploaded Source

Built Distribution

WeiXinPaySDK-0.0.4-py3-none-any.whl (19.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page