{ "info": { "author": "lijim", "author_email": "935685518@qq.com", "bugtrack_url": null, "classifiers": [], "description": "description:\r\n\r\n \u4e0e\u652f\u4ed8\u5b9d\u63a5\u53e3\u8c03\u7528\u65b9\u6cd5\u7c7b\u4f3c\u3002\u7f51\u94f6\u5728\u7ebf\u7b2c\u4e09\u65b9\u652f\u4ed8\u63a5\u53e3\uff0c\u5bf9\u7f51\u94f6\u5728\u7ebf\u63a5\u53e3\u8fdb\u884c\u4e86\u7b80\u5355\u5c01\u88c5\uff0c\u7b80\u5316\u5176\u4f7f\u7528\u3002 \r\nusage:\r\n\r\n1.\u5728\u9875\u9762\u83b7\u53d6\u5230\u7528\u6237\u8ba2\u5355\u540e\uff0c\u6784\u9020\u9700\u8981\u652f\u4ed8\u7684\u91d1\u989d\uff082\u4f4d\u7cbe\u5ea6\uff09\uff0c\u751f\u6210\u8ba2\u5355\u53f7\uff0c\u540e\u53f0\u751f\u6210ChinaBank\r\n\u5bf9\u8c61\uff0c\u8c03\u7528create_pay_url\u51fd\u6570\uff0c\u751f\u6210\u9700\u8981\u91cd\u5b9a\u5411\u7ed9\u7528\u6237\u7684url\r\n\r\n2\u4e3e\u4f8b \uff1a\r\n kwargs={\r\n \"mid\":\"xxxxxx\", #\u7f51\u94f6\u5728\u7ebf\u5408\u4f5c\u5546\u6237\u7684id\r\n \"key\":'xxxxxxxxxxx',#key\r\n \"oid\":'xxxxxx',#\u4f60\u7684\u4e1a\u52a1\u8ba2\u5355\u7f16\u53f7\uff08\u4e0d\u8d85\u8fc732\u4f4d\uff0c\u5426\u5219\u8d85\u51fa\u89c4\u5b9a\u7684\u53c2\u6570\u957f\u5ea6\u4e0d\u6210\u529f\uff09\r\n \"amount\":'0.01',#\u91d1\u989d\uff0c2\u4f4d\u7cbe\u5ea6\r\n \"redirect_url\":'http://xxxx/',# \u652f\u4ed8\u6210\u529f\u56de\u8c03\u5730\u5740\r\n \"notify_url\":'http://xxxxx/',#\u652f\u4ed8\u6210\u529f\u56de\u8c03\u5730\u5740\r\n }\r\n cb=ChinaBank(**kwargs)\r\n url=cb.create_pay_url()\r\n return HttpResponseRedirect(url)\r\n\r\n3.\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\u7684\u51e0\u4e2a\u53c2\u6570\u90fd\u662f\u5fc5\u586b\u9879\uff0c\u9ed8\u8ba4\u4e86\u8d27\u5e01\u7c7b\u578b\u4e3a\u4eba\u6c11\u5e01\uff0c\u9ed8\u8ba4\u4e86\u56de\u8c03\u901a\u77e5url\u4e3a1\u4e2a\u3002\r\n \u5f53\u7136\u8fd8\u6709\u5176\u4ed6\u4e00\u4e9b\u975e\u5fc5\u987b\u7684\u53c2\u6570\u53ef\u4ee5\u4f20\u9012\u7ed9create_pay_url\u6216\u8005\u5728kwargs \u4e2d\u6dfb\u52a0 \u3002\r\n4. \u5982\u9700\u8981\u8bf7\u67e5\u770b\u7f51\u94f6\u5728\u7ebf\u7684\u5b98\u65b9\u6587\u6863\u3002\r\n5. \u76ee\u524d\u5927\u591a\u652f\u4ed8\u9875\u9762\u53ea\u652f\u6301ie\u6d4f\u89c8\u5668\u3002\u3002\u3002\r\n \u5927\u591a\u8fd8\u8981\u5b89\u88c5\u6d4f\u89c8\u5668\u63a7\u4ef6\uff0cu\u76fe\u9a71\u52a8\u7b49 \u624d\u80fd\u6210\u529f\u652f\u4ed8\u3002", "description_content_type": null, "docs_url": "https://pythonhosted.org/chinabankpay/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.xxx.com", "keywords": "", "license": "UNKNOWN", "maintainer": "", "maintainer_email": "", "name": "chinabankpay", "package_url": "https://pypi.org/project/chinabankpay/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/chinabankpay/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.xxx.com" }, "release_url": "https://pypi.org/project/chinabankpay/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "chinabank Third party payment \u7f51\u94f6\u5728\u7ebf\u975e\u5b98\u65b9\u63a5\u53e3", "version": "0.0.1" }, "last_serial": 1562574, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "351214b8f60b027d531eb3c4529f7004", "sha256": "622bb9343cbb100fc5285f1295f4c1bd12c113d4f802151b6f4281a9ce0ef0bc" }, "downloads": -1, "filename": "chinabankpay-0.0.1.zip", "has_sig": false, "md5_digest": "351214b8f60b027d531eb3c4529f7004", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3495, "upload_time": "2015-05-26T08:47:53", "url": "https://files.pythonhosted.org/packages/03/f2/6961880d7301005e4469e49f2c9aa4e8f0acb7c9de8829e46047a92f7980/chinabankpay-0.0.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "351214b8f60b027d531eb3c4529f7004", "sha256": "622bb9343cbb100fc5285f1295f4c1bd12c113d4f802151b6f4281a9ce0ef0bc" }, "downloads": -1, "filename": "chinabankpay-0.0.1.zip", "has_sig": false, "md5_digest": "351214b8f60b027d531eb3c4529f7004", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3495, "upload_time": "2015-05-26T08:47:53", "url": "https://files.pythonhosted.org/packages/03/f2/6961880d7301005e4469e49f2c9aa4e8f0acb7c9de8829e46047a92f7980/chinabankpay-0.0.1.zip" } ] }