Home > other >  Alipay SDK interface refund success a refund and return the correct content but throw an exception
Alipay SDK interface refund success a refund and return the correct content but throw an exception

Time:10-13




AlipayTradeRefundResponse alipay_response=client. The execute (alipay_request);//client. SdkExecute (alipay_request);
System. The out. Println (alipay_response getBody ());
If (alipay_response isSuccess ()) {
System. The out. Println (" call success ");
} else {
System. The out. Println (" failed ");
}
Abnormal return Aug 27, 2018 1:40:39 PM com. Alipay. API. Internal. Util. AlipayLogger logBizError SEVERE: the 2018-08-27 13:40:39 ^_^ {" alipay_trade_refund_response ": {" code" : "10000", "MSG" : "Success", "buyer_logon_id
"But can be seen from the abnormal content inside it is returned to the right and also refund the money but just can't get right to the getBody call won't print the content of the success or failure will directly throw an exception somebody in this situation?

CodePudding user response:

Met, but now is processing
  • Related