|
|
@@ -615,7 +615,9 @@ class OrderService extends BaseService
|
|
|
$merchantExt = WxOpenClass::getWxInfo();
|
|
|
$mid = $merchantExt['wxPayMerchantId'] ?? '';
|
|
|
$appId = $merchantExt['miniAppId'] ?? '';
|
|
|
+ $key = $merchantExt['wxPayKey'] ?? '';
|
|
|
|
|
|
+ Yii::info($mid . ' ' . $appId . ' 88888 ');
|
|
|
|
|
|
$input = new \WxPayRefund();
|
|
|
$input->SetTransaction_id($transaction_id);
|
|
|
@@ -625,6 +627,7 @@ class OrderService extends BaseService
|
|
|
$config = new \WxPayConfig();
|
|
|
$config->SetAppId($appId);
|
|
|
$config->SetMerchantId($mid);
|
|
|
+ $config->SetKey($key);
|
|
|
|
|
|
$input->SetOut_refund_no($refundOrderSn);
|
|
|
$input->SetOp_user_id($mid);
|