You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
information-system/webht/third_party/pay/alipay_SOP.md

21 lines
1.2 KiB
Markdown

8 years ago
## Alipay 支付说明 ##
> update : 2017.08.28 LYT <lyt@hainatravel.com>
#### 支付链接示例 ####
`https://www.chinahighlights.com/guide-use.php/apps/pay/AlipayTradeService/pay_fun?out_trade_no=20150320010101001&subject=Iphone6&total_amount=88.88&body=Iphone6&return_url=https://m.alipay.com/Gk8NF23&notify_url=https://api.xx.com/receive_notify.htm`
##### 参数说明 #####
参数 | 类型 | 是否必填 | 最大长度 | 描述 | 示例值
--- | --- | -- | ---- | --- | ---
out_trade_no| String| 是| 64| 商户订单号64个字符以内、可包含字母、数字、下划线需保证在商户端不重复 | 20150320010101001
total_amount | Price | 是 | 11 | 订单总金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000] | 88.88
subject | String | 是 | 256 | 订单标题 | Iphone6
body | String | 否 | 128 | 订单描述 | Iphone6
return_url | String | 否 | 256 | 同步返回地址HTTP/HTTPS开头字符串 | https://m.alipay.com/Gk8NF23
notify_url | String | 否 | 256 | 支付宝服务器主动通知商户服务器里指定的页面http/https路径。 | https://api.xx.com/receive_notify.htm
#### 测试 ####
账号| ckdstw3726@sandbox.com
--|--
登录密码|111111
支付密码|111111
余额|约1000