refactor: ♻️ removed unused case in stripe webhook

This commit is contained in:
IceToast 2021-12-20 10:59:07 +01:00
parent d33eef6523
commit a6f200ca55

View file

@ -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;
}