Update stripe webhooks

This commit is contained in:
David Bomba 2023-01-11 12:14:59 +11:00
parent ce6537852c
commit 1b7bbdfb87

View File

@ -638,7 +638,7 @@ class StripePaymentDriver extends BaseDriver
}
if($request->type === 'payment_intent.processing') {
PaymentIntentProcessingWebhook::dispatch($request->data, $request->company_key, $this->company_gateway->id)->delay(now()->addSeconds(rand(5, 10)));
PaymentIntentProcessingWebhook::dispatch($request->data, $request->company_key, $this->company_gateway->id)->delay(now()->addSeconds(2));
return response()->json([], 200);
}