mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 08:21:34 +02:00
Add new webhhoks for BACS
This commit is contained in:
parent
331d4f7173
commit
d67fc2d493
@ -49,6 +49,9 @@ class StripeWebhook implements ShouldQueue
|
||||
'charge.failed',
|
||||
'payment_intent.succeeded',
|
||||
'payment_intent.payment_failed',
|
||||
'mandate.updated',
|
||||
'checkout.session.completed',
|
||||
'payment_method.automatically_updated'
|
||||
];
|
||||
|
||||
public function __construct(string $company_key, int $company_gateway_id)
|
||||
|
@ -714,6 +714,13 @@ class StripePaymentDriver extends BaseDriver
|
||||
}
|
||||
}
|
||||
}
|
||||
} elseif ($request->type === "payment_method.automatically_updated"){
|
||||
return response()->json([], 200);
|
||||
} elseif ($request->type === "checkout.session.completed"){
|
||||
return response()->json([], 200);
|
||||
} elseif ($request->type === "mandate.updated"){
|
||||
|
||||
return response()->json([], 200);
|
||||
}
|
||||
|
||||
return response()->json([], 200);
|
||||
|
Loading…
Reference in New Issue
Block a user