feat: Improve internal notification message for early fraud warning webhook

This commit is contained in:
Andras Bacsai 2024-07-05 20:31:19 +02:00
parent 42fb8ab379
commit 920305432b

View File

@ -80,7 +80,7 @@ public function events(Request $request)
'stripe_invoice_paid' => false,
]);
}
send_internal_notification("Early fraud warning created Refunded, subscription canceled. Charge: {$charge}, id: {$id}, pi: {$pi}, customer: {$customerId}, subscription: {$subscriptionId}");
send_internal_notification("Early fraud warning created Refunded, subscription canceled. Charge: {$charge}, id: {$id}, pi: {$pi}");
break;
case 'checkout.session.completed':
$clientReferenceId = data_get($data, 'client_reference_id');