Skip to content

Commit

Permalink
Change icons size to 32x24
Browse files Browse the repository at this point in the history
  • Loading branch information
saranchuk-hys committed Jul 27, 2021
1 parent b2c87de commit 612411c
Show file tree
Hide file tree
Showing 16 changed files with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions buckaroo3.php
Original file line number Diff line number Diff line change
Expand Up @@ -595,109 +595,109 @@ public function hookPaymentOptions($params)
$newOption->setCallToActionText($this->getBuckarooLabel('IDEAL', 'Pay by iDeal'))
->setAction($this->context->link->getModuleLink('buckaroo3', 'request', ['method' => 'ideal']))
->setForm($this->context->smarty->fetch('module:buckaroo3/views/templates/hook/payment_ideal.tpl'))
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_ideal.png?');
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_ideal.png?v');
$payment_options[] = $newOption;
}
if (Config::get('BUCKAROO_PAYPAL_ENABLED')) {
$newOption = new PaymentOption();
$newOption->setCallToActionText($this->getBuckarooLabel('PAYPAL', 'Pay by PayPal'))
->setAction($this->context->link->getModuleLink('buckaroo3', 'request', ['method' => 'buckaroopaypal']))
->setInputs($this->getBuckarooFeeInputs('PAYPAL'))
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_paypal.png?');
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_paypal.png?v');
$payment_options[] = $newOption;
}
if (Config::get('BUCKAROO_SDD_ENABLED')) {
$newOption = new PaymentOption();
$newOption->setCallToActionText($this->getBuckarooLabel('SDD', 'Pay by SEPA Direct Debit'))
->setAction($this->context->link->getModuleLink('buckaroo3', 'request', ['method' => 'sepadirectdebit'])) //phpcs:ignore
->setForm($this->context->smarty->fetch('module:buckaroo3/views/templates/hook/payment_sepadirectdebit.tpl')) //phpcs:ignore
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_sepa_dd.png?'); //phpcs:ignore
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_sepa_dd.png?v'); //phpcs:ignore
$payment_options[] = $newOption;
}
if (Config::get('BUCKAROO_GIROPAY_ENABLED')) {
$newOption = new PaymentOption();
$newOption->setCallToActionText($this->getBuckarooLabel('GIROPAY', 'Pay by GiroPay'))
->setAction($this->context->link->getModuleLink('buckaroo3', 'request', ['method' => 'giropay']))
->setForm($this->context->smarty->fetch('module:buckaroo3/views/templates/hook/payment_giropay.tpl'))
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_giropay.png?');
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_giropay.png?v');
$payment_options[] = $newOption;
}
if (Config::get('BUCKAROO_KBC_ENABLED')) {
$newOption = new PaymentOption();
$newOption->setCallToActionText($this->getBuckarooLabel('KBC', 'Pay by KBC'))
->setAction($this->context->link->getModuleLink('buckaroo3', 'request', ['method' => 'kbc']))
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_kbc.png?');
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_kbc.png?v');
$payment_options[] = $newOption;
}
if (Config::get('BUCKAROO_MISTERCASH_ENABLED')) {
$newOption = new PaymentOption();
$newOption->setCallToActionText($this->getBuckarooLabel('MISTERCASH', 'Pay by Bancontact / Mister Cash'))
->setAction($this->context->link->getModuleLink('buckaroo3', 'request', ['method' => 'bancontactmrcash'])) //phpcs:ignore
->setInputs($this->getBuckarooFeeInputs('MISTERCASH'))
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_mistercash.png?v'); //phpcs:ignore
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_mistercash.png?vv'); //phpcs:ignore
$payment_options[] = $newOption;
}
if (Config::get('BUCKAROO_GIFTCARD_ENABLED')) {
$newOption = new PaymentOption();
$newOption->setCallToActionText($this->getBuckarooLabel('GIFTCARD', 'Pay by Giftcards'))
->setAction($this->context->link->getModuleLink('buckaroo3', 'request', ['method' => 'giftcard']))
->setInputs($this->getBuckarooFeeInputs('GIFTCARD'))
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_giftcards.png?');
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_giftcards.png?v');
$payment_options[] = $newOption;
}
if (Config::get('BUCKAROO_CREDITCARD_ENABLED')) {
$newOption = new PaymentOption();
$newOption->setCallToActionText($this->getBuckarooLabel('CREDITCARD', 'Pay by Creditcards'))
->setAction($this->context->link->getModuleLink('buckaroo3', 'request', ['method' => 'creditcard']))
->setInputs($this->getBuckarooFeeInputs('CREDITCARD'))
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_cc.png');
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_cc.png?v');
$payment_options[] = $newOption;
}
if (Config::get('BUCKAROO_SOFORTBANKING_ENABLED')) {
$newOption = new PaymentOption();
$newOption->setCallToActionText($this->getBuckarooLabel('SOFORTBANKING', 'Pay by Sofortbanking'))
->setAction($this->context->link->getModuleLink('buckaroo3', 'request', ['method' => 'sofortueberweisung'])) //phpcs:ignore
->setInputs($this->getBuckarooFeeInputs('SOFORTBANKING'))
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_sofort.png?'); //phpcs:ignore
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_sofort?v.png?'); //phpcs:ignore
$payment_options[] = $newOption;
}
if (Config::get('BUCKAROO_BELFIUS_ENABLED')) {
$newOption = new PaymentOption();
$newOption->setCallToActionText($this->getBuckarooLabel('BELFIUS', 'Pay by Belfius'))
->setAction($this->context->link->getModuleLink('buckaroo3', 'request', ['method' => 'belfius'])) //phpcs:ignore
->setInputs($this->getBuckarooFeeInputs('BELFIUS'))
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_belfius.png'); //phpcs:ignore
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_belfius.png?v'); //phpcs:ignore
$payment_options[] = $newOption;
}
if (Config::get('BUCKAROO_TRANSFER_ENABLED')) {
$newOption = new PaymentOption();
$newOption->setCallToActionText($this->getBuckarooLabel('TRANSFER', 'Pay by Bank Transfer'))
->setAction($this->context->link->getModuleLink('buckaroo3', 'request', ['method' => 'transfer']))
->setInputs($this->getBuckarooFeeInputs('TRANSFER'))
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_transfer.png?v1');
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_transfer.png?vv1');
$payment_options[] = $newOption;
}
if (Config::get('BUCKAROO_AFTERPAY_ENABLED')) {
$newOption = new PaymentOption();
$newOption->setCallToActionText($this->getBuckarooLabel('AFTERPAY', 'Afterpay'))
->setAction($this->context->link->getModuleLink('buckaroo3', 'request', ['method' => 'afterpay'])) //phpcs:ignore
->setForm($this->context->smarty->fetch('module:buckaroo3/views/templates/hook/payment_afterpay.tpl')) //phpcs:ignore
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_afterpay.png?v'); //phpcs:ignore
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_afterpay.png?vv'); //phpcs:ignore
$payment_options[] = $newOption;
}
if (Config::get('BUCKAROO_KLARNA_ENABLED')) {
$newOption = new PaymentOption();
$newOption->setCallToActionText($this->getBuckarooLabel('KLARNA', 'Klarna: Pay later'))
->setAction($this->context->link->getModuleLink('buckaroo3', 'request', ['method' => 'klarna'])) //phpcs:ignore
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_klarna.png?'); //phpcs:ignore
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_klarna.png?v'); //phpcs:ignore
$payment_options[] = $newOption;
}
if (Config::get('BUCKAROO_APPLEPAY_ENABLED')) {
$newOption = new PaymentOption();
$newOption->setCallToActionText($this->getBuckarooLabel('APPLEPAY', 'Apple Pay'))
->setAction($this->context->link->getModuleLink('buckaroo3', 'request', ['method' => 'applepay'])) //phpcs:ignore
->setInputs($this->getBuckarooFeeInputs('APPLEPAY'))
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_applepay.png?'); //phpcs:ignore
->setLogo($this->_path . 'views/img/buckaroo_images/buckaroo_applepay.png?v'); //phpcs:ignore
$payment_options[] = $newOption;
}
return $payment_options;
Expand Down
Binary file modified views/img/buckaroo_images/buckaroo_afterpay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified views/img/buckaroo_images/buckaroo_applepay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified views/img/buckaroo_images/buckaroo_belfius.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified views/img/buckaroo_images/buckaroo_cc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified views/img/buckaroo_images/buckaroo_giftcards.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified views/img/buckaroo_images/buckaroo_giropay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified views/img/buckaroo_images/buckaroo_ideal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified views/img/buckaroo_images/buckaroo_kbc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified views/img/buckaroo_images/buckaroo_klarna.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified views/img/buckaroo_images/buckaroo_mistercash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified views/img/buckaroo_images/buckaroo_paypal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified views/img/buckaroo_images/buckaroo_sepa_dd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified views/img/buckaroo_images/buckaroo_sofort.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified views/img/buckaroo_images/buckaroo_transfer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified views/img/buckaroo_images/cc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 612411c

Please sign in to comment.