should be

```php
<?php
'paypal' == $model->payer->payment_method
```