diff --git a/src/Library/Economy/Payment/StripeGateway.php b/src/Library/Economy/Payment/StripeGateway.php index ab8a64e..fd2b1b0 100644 --- a/src/Library/Economy/Payment/StripeGateway.php +++ b/src/Library/Economy/Payment/StripeGateway.php @@ -105,6 +105,10 @@ class StripeGateway implements GatewayInterface throw new \Exception(sprintf("Stripe checkout '%s' exists but no GatewayCheckout with that reference was found.", $sessionId)); } + if ($checkout->getStatus() === GatewayCheckoutStatus::Charged) { + return $checkout; + } + if ($request->query->get('type') !== GatewayCheckoutService::RESPONSE_TYPE_SUCCESS) { return $checkout; }