mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 23:24:29 -04:00
Minor cleanup
This commit is contained in:
parent
4af753230f
commit
62ed8d3391
@ -627,7 +627,9 @@ class StripePaymentDriver extends BaseDriver
|
||||
|
||||
public function processWebhookRequest(PaymentWebhookRequest $request)
|
||||
{
|
||||
|
||||
// if($request->type === 'payment_intent.requires_action')
|
||||
// nlog($request->all());
|
||||
|
||||
//payment_intent.succeeded - this will confirm or cancel the payment
|
||||
if ($request->type === 'payment_intent.succeeded') {
|
||||
PaymentIntentWebhook::dispatch($request->data, $request->company_key, $this->company_gateway->id)->delay(now()->addSeconds(rand(5, 10)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user