正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -142,6 +142,7 @@ class PayStripeApi | @@ -142,6 +142,7 @@ class PayStripeApi | ||
| 142 | */ | 142 | */ |
| 143 | public static function handleWebhook() | 143 | public static function handleWebhook() |
| 144 | { | 144 | { |
| 145 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export('start', true) . PHP_EOL, FILE_APPEND); | ||
| 145 | try { | 146 | try { |
| 146 | // Webhook 签名密钥(从 Stripe 仪表盘获取) | 147 | // Webhook 签名密钥(从 Stripe 仪表盘获取) |
| 147 | $endpointSecret = 'whsec_garhW2TrCIrduyM3rve9mFS2sn69B9Yt'; | 148 | $endpointSecret = 'whsec_garhW2TrCIrduyM3rve9mFS2sn69B9Yt'; |
-
请 注册 或 登录 后发表评论