refactor: ♻️ removed unused case in stripe webhook
This commit is contained in:
parent
d33eef6523
commit
a6f200ca55
1 changed files with 0 additions and 5 deletions
|
@ -455,11 +455,6 @@ class PaymentController extends Controller
|
|||
$paymentIntent = $event->data->object; // contains a \Stripe\PaymentIntent
|
||||
$this->handleStripePaymentSuccessHook($paymentIntent);
|
||||
break;
|
||||
case 'payment_method.attached':
|
||||
$paymentMethod = $event->data->object; // contains a \Stripe\PaymentMethod
|
||||
error_log($paymentMethod);
|
||||
break;
|
||||
// ... handle other event types
|
||||
default:
|
||||
echo 'Received unknown event type ' . $event->type;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue