Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

Commit

Permalink
Merge pull request #4 from ruudk/revert-3-sf3
Browse files Browse the repository at this point in the history
Revert "Make plugin Symfony 3 compatible"
  • Loading branch information
ruudk authored Jul 19, 2016
2 parents a9186dc + 5709cb0 commit 39fec78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Plugin/CheckoutPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use JMS\Payment\CoreBundle\Plugin\PluginInterface;
use Omnipay\Stripe\Gateway;
use Psr\Log\LoggerInterface;
use Ruudk\Payment\StripeBundle\Form\CheckoutType;

class CheckoutPlugin extends AbstractPlugin
{
Expand Down Expand Up @@ -37,7 +36,7 @@ public function setLogger(LoggerInterface $logger = null)

public function processes($name)
{
return $name === CheckoutType::class;
return $name == 'stripe_checkout';
}

public function approveAndDeposit(FinancialTransactionInterface $transaction, $retry)
Expand Down

0 comments on commit 39fec78

Please sign in to comment.