Python Alipay(支付宝) SDK with SHA1/SHA256 support
Taking a look at this guide if you are interested at the details on signing your order requests.
3.0 introduced two new functions:
server_appias a replacement of old-styled function based api .
3.0 keeps backward compability with 2.*, The only thing you should keep in mind is
dataautomatically, you should handle it by yourself.
python -m unittest discover
Or you may do test manually in this way,
debug=Truewill direct your request to sandbox environment:
alipay = AliPay(..., debug=True)