Ver código fonte

更新PF专属字段

tao.zhou 4 anos atrás
pai
commit
53c8cf768b
2 arquivos alterados com 5 adições e 3 exclusões
  1. 2 2
      payExclusive_CH.md
  2. 3 1
      payExclusive_EN.md

+ 2 - 2
payExclusive_CH.md

@@ -321,8 +321,8 @@ cvv:123
 | 参数         | 类型   | 属性 | 描述                                                         |
 | ------------ | ------ | ---- | ------------------------------------------------------------ |
 | tradeFrom    | String | M    | "H5"                                                         |
-| showShipAddr | String | M    | "1":显示账单填写表单, "0":不显示账单填写表单               |
-| shipAddr     | String | M    | base64_encode(json_encode(str) ) 举例{"first_name":"","last_name":"","street":"address_line1","house_number":"address_line2","address_city":"new york","address_state":"new york","country_id":"us","address_zip":"10022","phone_num":"13512345678","email_address":"dd@126.com"} |
+| showShipAddr | String | M    | "1":显示账单填写表单<br>"0":不显示账单填写表单               |
+| shipAddr     | String | O    | showShipAddr为1时不用传该字段,为0时需上传。<br>base64_encode(json_encode(str) ) 举例{"first_name":"","last_name":"","street":"address_line1","house_number":"address_line2","address_city":"new york","address_state":"new york","country_id":"us","address_zip":"10022","phone_num":"13512345678","email_address":"dd@126.com"} |
 | email        | String | M    | 用户email                                                    |
 | shipping     | String | M    | 收件地址: base64_encode(json_encode(str))举例<br/>{"first_name":"dsgerg","last_name":"eererger","phone":"13460259928","line1":"address_line1","line2":"address_line2","city":"new york","state":"new york","country_code":"us","postal_code":"10022"} |
 

+ 3 - 1
payExclusive_EN.md

@@ -321,7 +321,9 @@ cvv:123
 | ----------------- | ------ | ---- | --------- |
 | tradeFrom         | String | M    | "H5"      |
 | email             | String | M    | email |
-| transport_express | String | M    | tracking number  |
+| showShipAddr | String | M    | "1": Display the bill filling form<br>"0": Do not display the bill filling form |
+| shipAddr     | String | O    | This field does not need to be uploaded when showShipAddr is 1, and needs to be uploaded when showShipAddr is 0.<br>base64_encode(json_encode(str)). Example:<br>{"first_name":"","last_name":"","street":"address_line1","house_number":"address_line2","address_city":"new york","address_state":"new york","country_id":"us","address_zip":"10022","phone_num":"13512345678","email_address":"dd@126.com"} |
+| shipping     | String | M    | Recipient address:base64_encode(json_encode(str)). Example:<br/>{"first_name":"dsgerg","last_name":"eererger","phone":"13460259928","line1":"address_line1","line2":"address_line2","city":"new york","state":"new york","country_code":"us","postal_code":"10022"} |
 
 ```javascript
 Test card: