Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Feb 20, 2024
1 parent 0394035 commit fd1e68f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/StripeDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@ public function handleNotification(Request $request): Response
$this->config['secret']
);

switch ($event->event->type) {
switch ($event->type) {
case 'charge.refunded':
$this->handleIrn($event->event);
$this->handleIrn($event);
break;
case 'payment_intent.succeeded':
$this->handleIpn($event->event);
$this->handleIpn($event);
break;
}

Expand Down

0 comments on commit fd1e68f

Please sign in to comment.