diff --git a/src/Library/Benzina/Pump/InvestsPump.php b/src/Library/Benzina/Pump/CheckoutsPump.php similarity index 98% rename from src/Library/Benzina/Pump/InvestsPump.php rename to src/Library/Benzina/Pump/CheckoutsPump.php index be70f8b..e113865 100644 --- a/src/Library/Benzina/Pump/InvestsPump.php +++ b/src/Library/Benzina/Pump/CheckoutsPump.php @@ -22,7 +22,7 @@ use App\Repository\TipjarRepository; use App\Repository\UserRepository; use Doctrine\ORM\EntityManagerInterface; -class InvestsPump implements PumpInterface +class CheckoutsPump implements PumpInterface { use ArrayPumpTrait; use ProgressivePumpTrait; @@ -145,10 +145,6 @@ class InvestsPump implements PumpInterface $checkout->addCharge($charge); $this->entityManager->persist($checkout); - - if ($checkout->getStatus() === GatewayCheckoutStatus::Pending) { - continue; - } } $this->entityManager->flush();