作者 lyh

gx数据

@@ -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';