Skip to content

Commit

Permalink
Merge pull request #2758 from antonioperic/patch-2
Browse files Browse the repository at this point in the history
Fixed bug in payment flow
  • Loading branch information
Paweł Jędrzejewski committed May 26, 2015
2 parents 2d23f86 + 8aea8c9 commit 61ef5ba
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -69,9 +69,7 @@ public function __construct(
*/
public function createOrderPayment(GenericEvent $event)
{
if (false === $this->getOrder($event)->getLastPayment()) {
$this->paymentProcessor->createPayment($this->getOrder($event));
}
$this->paymentProcessor->createPayment($this->getOrder($event));
}

/**
Expand Down

0 comments on commit 61ef5ba

Please sign in to comment.