#DaganChen
1 messages · Page 1 of 1 (latest)
hello! yes, each endpoint you setup has a different webhook secret
if you setup two different Stripe webhook endpoints, they will each have their own unique webhook secret
are you using the correct secret for each webhook endpoint's application?
Route::post('/onStripePaymentIntent','WebHooks\WebHooksCTRL@stripeHook')->name('webhooks.stripeHook');
Route::post('/onStripePaymentIntentProdTest','WebHooks\WebHooksCTRL@stripeHookProdTest')->name('webhooks.stripeHookProdTest');
onStripePaymentIntent
that one is working
other one is on test
because I'm using test cards there
did you try logging the webhook secret during runtime to make sure the webhook secret is correct?
yep
I also see him on logs
#1 /var/www/html/vendor/stripe/stripe-php/lib/Webhook.php(29): Stripe\WebhookSignature::verifyHeader('{
"id": "evt_...', 't=1680519221,v1...', 'we_1MqXtHFrv2nk...', 300)
any ideas?
sorry, i don't understand what you mean by
#1 /var/www/html/vendor/stripe/stripe-php/lib/Webhook.php(29): Stripe\WebhookSignature::verifyHeader('{\
"id": "evt_...', 't=1680519221,v1...', 'we_1MqXtHFrv2nk...', 300)```
could you try rephrasing?