diff --git a/app/Payments/AlipayF2F.php b/app/Payments/AlipayF2F.php index 498f9097..3fba0c1f 100644 --- a/app/Payments/AlipayF2F.php +++ b/app/Payments/AlipayF2F.php @@ -47,7 +47,7 @@ class AlipayF2F { $gateway->setAlipayPublicKey($this->config['public_key']); // 可以是路径,也可以是密钥内容 $gateway->setNotifyUrl($order['notify_url']); $gateway->setBizContent([ - 'subject' => $this->config['自定义商品名称'] ?? (config('v2board.app_name', 'V2Board') . ' - 订阅'), + 'subject' => $this->config['product_name'] ?? (config('v2board.app_name', 'V2Board') . ' - 订阅'), 'out_trade_no' => $order['trade_no'], 'total_amount' => $order['total_amount'] / 100 ]);