Need help with alipay?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

fzlee
1.0K Stars 337 Forks Other 202 Commits 0 Opened issues

Description

Python Alipay(支付宝) SDK with SHA1/SHA256 support

Services available

!
?

Need anything else?

Contributors list

# 59,588
Python
alipay
143 commits
# 190,378
alipay
Redis
python-...
python3
9 commits
# 71,246
Azure
azure-s...
jupyter...
alipay
3 commits
# 50,227
Python
wechat
animal-...
animal-...
3 commits
# 340,298
Python
alipay
2 commits
# 340,162
Python
alipay
2 commits
# 340,163
Python
alipay
2 commits
# 216,726
Telegra...
telegra...
python-...
alipay
2 commits
# 353,687
Python
CSS
alipay
1 commit
# 153,056
Databas...
HTML
CSS
MongoDB
1 commit
# 405,833
Python
alipay
1 commit
# 52,662
Perl
board-g...
gomoku
qq
1 commit
# 256,221
Python
alipay
weixin
Flask
1 commit
# 26,729
ant
vue3
Vue.js
ant-des...
1 commit
# 11,060
Shell
HTML
v2ray
shadows...
1 commit

python-alipay-sdk

PyPI version codecov travis-ci

中文文档

Unofficial AliPay Python SDK

Taking a look at this guide if you are interested at the details on signing your order requests.

GUIDES

What's new in 3.0 and how to migrate to 3.0

3.0 introduced two new functions:

client_api
and
server_appi
as a replacement of old-styled function based api .

3.0 keeps backward compability with 2.*, The only thing you should keep in mind is

Alipay.verify
won't pop
sign
from
data
automatically, you should handle it by yourself.

Test

python -m unittest discover

Or you may do test manually in this way,

debug=True
will direct your request to sandbox environment:
alipay = AliPay(..., debug=True)

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.