hm... maybe the if statement should be out of this method. something like:

```php

if (false == $order->getPayment()) {
    $order->setPayment($this->createPayment($order));
}