|
@@ -46,6 +46,10 @@ public class WxPayRefundNotifyResult extends BaseWxPayResult implements Serializ |
|
|
*/ |
|
|
*/ |
|
|
public static WxPayRefundNotifyResult fromXML(String xmlString, String mchKey) throws WxPayException { |
|
|
public static WxPayRefundNotifyResult fromXML(String xmlString, String mchKey) throws WxPayException { |
|
|
WxPayRefundNotifyResult result = BaseWxPayResult.fromXML(xmlString, WxPayRefundNotifyResult.class); |
|
|
WxPayRefundNotifyResult result = BaseWxPayResult.fromXML(xmlString, WxPayRefundNotifyResult.class); |
|
|
|
|
|
if ("FAIL".equals(result.getReturnCode())) { |
|
|
|
|
|
return result; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
String reqInfoString = result.getReqInfoString(); |
|
|
String reqInfoString = result.getReqInfoString(); |
|
|
try { |
|
|
try { |
|
|
final String keyMd5String = DigestUtils.md5Hex(mchKey).toLowerCase(); |
|
|
final String keyMd5String = DigestUtils.md5Hex(mchKey).toLowerCase(); |
|
|