diff --git a/src/Repository/RawPaymentMethodRepository.php b/src/Repository/RawPaymentMethodRepository.php index e4d47acc..ac3351a5 100644 --- a/src/Repository/RawPaymentMethodRepository.php +++ b/src/Repository/RawPaymentMethodRepository.php @@ -133,7 +133,7 @@ private function getPaymentMethodsData() ['name' => 'creditcard', 'label' => 'Cards', 'icon' => 'Creditcards.svg', 'template' => 'payment_creditcard.tpl', 'is_payment_method' => '1'], ['name' => 'sofortueberweisung', 'label' => 'Sofortbanking', 'icon' => 'Sofort.svg', 'template' => '', 'is_payment_method' => '1'], ['name' => 'belfius', 'label' => 'Belfius', 'icon' => 'Belfius.svg', 'template' => '', 'is_payment_method' => '1'], - ['name' => 'afterpay', 'label' => 'Riverty | AfterPay', 'icon' => 'AfterPay.svg', 'template' => 'payment_afterpay.tpl', 'is_payment_method' => '1'], + ['name' => 'afterpay', 'label' => 'Riverty', 'icon' => 'AfterPay.svg', 'template' => 'payment_afterpay.tpl', 'is_payment_method' => '1'], ['name' => 'klarna', 'label' => 'Klarna', 'icon' => 'Klarna.svg', 'template' => 'payment_klarna.tpl', 'is_payment_method' => '1'], ['name' => 'applepay', 'label' => 'Apple Pay', 'icon' => 'ApplePay.svg', 'template' => '', 'is_payment_method' => '1'], ['name' => 'in3', 'label' => 'In3', 'icon' => 'In3.svg', 'template' => 'payment_in3.tpl', 'is_payment_method' => '1'], diff --git a/upgrade/upgrade-4.4.0.php b/upgrade/upgrade-4.4.0.php index 75fb79b6..dbc51030 100644 --- a/upgrade/upgrade-4.4.0.php +++ b/upgrade/upgrade-4.4.0.php @@ -42,5 +42,8 @@ function upgrade_module_4_4_0($object) $insertQuery = 'INSERT INTO ' . _DB_PREFIX_ . 'bk_payment_methods (' . implode(', ', $keys) . ') VALUES ("' . implode('", "', $values) . '")'; Db::getInstance()->execute($insertQuery); + + Db::getInstance()->execute('UPDATE ' . _DB_PREFIX_ . 'bk_payment_methods SET label = "Riverty" WHERE name = "afterpay"'); + return true; } diff --git a/views/templates/hook/payment_afterpay.tpl b/views/templates/hook/payment_afterpay.tpl index 85dbaaeb..22ed9da1 100644 --- a/views/templates/hook/payment_afterpay.tpl +++ b/views/templates/hook/payment_afterpay.tpl @@ -28,7 +28,7 @@ {l s='Invalid shipping address, cannot find house number' mod='buckaroo3'} {/if} - {l s='Please provide additional data for Riverty | AfterPay.' mod='buckaroo3'}

+ {l s='Please provide additional data for Riverty.' mod='buckaroo3'}