Commit 5894bcba authored by oskar's avatar oskar

forgotten static call added. fix #43

parent 48f9b378
......@@ -66,7 +66,7 @@ if ($api->isConfigured(false) && $api->isUseable($items, $shippingId)) {
}
$thirdParty = [
'methodName' => shortenPaymentName(utf8_encode($p->angezeigterName[Shop::$cISO])),
'methodName' => PayPalHelper::shortenPaymentName(utf8_encode($p->angezeigterName[Shop::$cISO])),
'redirectUrl' => sprintf('%s/index.php?s=%d&a=payment_method&id=%d',
$shopUrl, $link->kLink, $p->kZahlungsart)
];
......
......@@ -91,7 +91,7 @@ if ($api->isConfigured(false) && $api->isUseable($items, $shippingId)) {
}
$thirdParty = [
'methodName' => shortenPaymentName(utf8_encode($p->angezeigterName[Shop::$cISO])),
'methodName' => PayPalHelper::shortenPaymentName(utf8_encode($p->angezeigterName[Shop::$cISO])),
'redirectUrl' => sprintf('%s/index.php?s=%d&a=payment_method&id=%d',
$shopUrl, $link->kLink, $p->kZahlungsart)
];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment