From 013ce5e6e421d06e765f33aaeb94a4582661f6b4 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 24 Jul 2022 17:38:24 +1000 Subject: [PATCH] Add logging for stripe intents --- .../Stripe/Jobs/PaymentIntentWebhook.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/PaymentDrivers/Stripe/Jobs/PaymentIntentWebhook.php b/app/PaymentDrivers/Stripe/Jobs/PaymentIntentWebhook.php index d94b4ec296ae..f37f46f5a7b3 100644 --- a/app/PaymentDrivers/Stripe/Jobs/PaymentIntentWebhook.php +++ b/app/PaymentDrivers/Stripe/Jobs/PaymentIntentWebhook.php @@ -148,6 +148,17 @@ class PaymentIntentWebhook implements ShouldQueue } + + SystemLogger::dispatch( + ['response' => $this->stripe_request, 'data' => []], + SystemLog::CATEGORY_GATEWAY_RESPONSE, + SystemLog::EVENT_GATEWAY_SUCCESS, + SystemLog::TYPE_STRIPE, + null, + $company, + ); + + } private function updateCreditCardPayment($payment_hash, $client)