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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
## Alipay 国内支付宝支付说明 ##
> update : 2017.09.26 LYT <lyt@hainatravel.com>
国内支付宝仅支持人民币支付
#### 支付链接示例 ####
`https://www.chinahighlights.com/securealipay/?b3JkZXJfaWQ9MTUwNDE0NzIwMyZzdWJqZWN0PUlwaG9uZTYmdG90YWxfYW1vdW50PTAuMDEmYm9keT1UcmFja2luZyBDb2RlOjE1MDQxNDcyMDMgVHJhdmVsIEFkdmlzb3I6TGlseSBDb250ZW50OlBheSBmb3IgdG91cg`
##### 链接说明 #####
链接最后一段为base64加密后的订单数据字符串
如上示例链接的
b3JkZXJfaWQ9MTUwNDE0NzIwMyZzdWJqZWN0PUlwaG9uZTYmdG90YWxfYW1vdW50PTAuMDEmYm9keT1UcmFja2luZyBDb2RlOjE1MDQxNDcyMDMgVHJhdmVsIEFkdmlzb3I6TGlseSBDb250ZW50OlBheSBmb3IgdG91cg
加密前为:
order_id=1504147203& subject=Iphone6& total_amount=0.01& body=Tracking Code:1504147203 Travel Advisor:Lily Content:Pay for tour
##### 参数说明 #####
参数 | 类型 | 是否必填 | 最大长度 | 描述 | 示例值
--- | --- | -- | ---- | --- | ---
order_id| String| 是| 64| 商户订单号, 64个字符以内、可包含字母、数字、下划线; < br >< b style = "color:red;" > 需保证在商户端不重复</ b > | 20150320010101001
total_amount | Price | 是 | 11 | 订单总金额,单位为元,精确到小数点后两位 | 88.88
subject | String | 是 | 256 | 订单标题 | Iphone6
body | String | 否 | 128 | 订单描述 | Iphone6
return_url | String | 否 | 256 | 同步跳转地址,**HTTP/HTTPS开头**字符串< br > 默认为CH首页 | https://www.chinahighlights.com
notify_url | String | 否 | 256 | 支付宝服务器主动通知商户服务器里指定的页面**HTTP/HTTPS开头**的路径。 | https://api.xx.com/receive_notify.htm
##### 支付选项logo
https://data.chinahighlights.com/pic/alipay_logo_228_80.png
