Showing
1 changed file
with
2 additions
and
2 deletions
@@ -185,8 +185,8 @@ public class AlipayCrossBorderService extends AbstractAlipayService { | @@ -185,8 +185,8 @@ public class AlipayCrossBorderService extends AbstractAlipayService { | ||
185 | params.put("merchant_customs_code", getMerchantCustomsCode()); | 185 | params.put("merchant_customs_code", getMerchantCustomsCode()); |
186 | params.put("amount", String.valueOf(amount)); | 186 | params.put("amount", String.valueOf(amount)); |
187 | params.put("customs_place", getCustomsPlace()); | 187 | params.put("customs_place", getCustomsPlace()); |
188 | - params.put("merchant_customs_name", getMerchantCustomsName()); | ||
189 | - params.put("buyer_name", certName); | 188 | + params.put("merchant_customs_name", URLEncoder.encode(getMerchantCustomsName())); |
189 | + params.put("buyer_name", URLEncoder.encode(certName)); | ||
190 | params.put("buyer_id_no", certNo); | 190 | params.put("buyer_id_no", certNo); |
191 | 191 | ||
192 | String preSignStr = getOpenApiSignString(params, true); | 192 | String preSignStr = getOpenApiSignString(params, true); |
-
Please register or login to post a comment