Klarna Payments Magento

How can you change the name (title / label) of the Klarna Payments solution in the checkout of an online shop built with Magento CE 1.9? To begin with: Unfortunately, this setting cannot be found in the backend. For example, the checkout may display "Invoice." with a period instead of "Invoice" without a period. In this case, a change in the "payment form block" can help. We therefore look in the file 

 

app/code/community/Klarna/Payments/Block/Form/Payments.php

 

and simply change line 143, for example, from

 

$mark->setTitle($payment['name']);

 

to

 

$mark->setTitle(str_replace('.','',$payment['name']));

 

That's it. This was encountered in our web agency's online shop running Magento CE 1.9.3.6.