This commit is contained in:
2023-03-07 17:59:55 +08:00
parent 63894f37a6
commit 8ea79574dc
3 changed files with 31 additions and 3 deletions
+1 -3
View File
@@ -178,9 +178,7 @@ class WechatPay
try {
$app = $this->createApp();
$options = [
"notify_url " => env('DOMAIN_NAME_DEV') . $this->config['refund_notify_url'],
];
$options['notify_url'] = env('DOMAIN_NAME_DEV') . $this->config['refund_notify_url'];
$response = $app->getClient()->postJson("v3/refund/domestic/refunds", $options);
if ($response->isFailed()) {