在基于python的web应用程序中实现SSLCOMMERZ支付网关。
sslcommerz-python的Python项目详细描述
SSLCOMMERZ支付网关的Python实现
提供一个python模块,用于在基于python的web应用程序中实现支付网关。在
安装
通过PIP
pip install sslcommerz-python
预计用途
^{pr2}$响应参数
当成功提供验证和有效载荷时
status
sessionkey
GatewayPageURL
示例
>>>response_data['status']SUCCESS>>>response_data['sessionkey']F650E87F23DD2A8FFCB4E4E333C13B28>>>response_data['GatewayPageURL']https://sandbox.sslcommerz.com/EasyCheckOut/testcdef650e87f23dd2a8ffcb4234fasf3b28
失败时
status
failedreason
示例
>>>response_data['status']FAILED>>>response_data['failedreason']'Store Credential Error Or Store is De-active'
- 项目
标签: