mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2026-03-03 02:47:02 +00:00
Fix webhook signature verification logic
Signed-off-by: TechNoNerd87 <113461509+TechNoNerd87@users.noreply.github.com>
This commit is contained in:
@@ -711,6 +711,7 @@ class StripePaymentDriver extends BaseDriver implements SupportsHeadlessInterfac
|
||||
nlog("Stripe webhook signature verification failed: No signature header");
|
||||
return response()->json(['error' => 'No signature header'], 403);
|
||||
}
|
||||
}
|
||||
try {
|
||||
\Stripe\Webhook::constructEvent(
|
||||
$request->getContent(),
|
||||
|
||||
Reference in New Issue
Block a user