$value){ echo "$key : $value
"; } } if(isset($_REQUEST["transaction_id"]) && $_REQUEST["transaction_id"] != ""){ $transaction_id = $_REQUEST["transaction_id"]; $input = new WxPayRefundQuery(); $input->SetTransaction_id($transaction_id); printf_info(WxPayApi::refundQuery($input)); } if(isset($_REQUEST["out_trade_no"]) && $_REQUEST["out_trade_no"] != ""){ $out_trade_no = $_REQUEST["out_trade_no"]; $input = new WxPayRefundQuery(); $input->SetOut_trade_no($out_trade_no); printf_info(WxPayApi::refundQuery($input)); exit(); } if(isset($_REQUEST["out_refund_no"]) && $_REQUEST["out_refund_no"] != ""){ $out_refund_no = $_REQUEST["out_refund_no"]; $input = new WxPayRefundQuery(); $input->SetOut_refund_no($out_refund_no); printf_info(WxPayApi::refundQuery($input)); exit(); } if(isset($_REQUEST["refund_id"]) && $_REQUEST["refund_id"] != ""){ $refund_id = $_REQUEST["refund_id"]; $input = new WxPayRefundQuery(); $input->SetRefund_id($refund_id); printf_info(WxPayApi::refundQuery($input)); exit(); } ?>
微信订单号、商户订单号、微信订单号、微信退款单号选填至少一个,微信退款单号优先:

微信订单号:



商户订单号:



商户退款单号:



微信退款单号: