|
...
|
...
|
@@ -142,6 +142,7 @@ class PayStripeApi |
|
|
|
*/
|
|
|
|
public static function handleWebhook()
|
|
|
|
{
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export('start', true) . PHP_EOL, FILE_APPEND);
|
|
|
|
try {
|
|
|
|
// Webhook 签名密钥(从 Stripe 仪表盘获取)
|
|
|
|
$endpointSecret = 'whsec_garhW2TrCIrduyM3rve9mFS2sn69B9Yt';
|
...
|
...
|
|