diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 40c9c5e..136f4cd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,6 +9,7 @@ jobs: steps: - uses: actions/checkout@master + - uses: php-actions/composer@v6 - name: Archive Release run: | diff --git a/.gitignore b/.gitignore index 9c47110..adb139d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .idea +.DS_Store /build/.yarn/* !/build/.yarn/patches !/build/.yarn/plugins @@ -6,6 +7,4 @@ !/build/.yarn/sdks !/build/.yarn/versions config.xml -config_es.xml -config_en.xml vendor diff --git a/build/package.json b/build/package.json index 95b99fb..e4ecb8d 100644 --- a/build/package.json +++ b/build/package.json @@ -1,6 +1,6 @@ { "name": "monei-prestashop", - "version": "1.1.4", + "version": "1.1.7", "main": "index.js", "repository": "git@github.com:MONEI/MONEI-PrestaShop.git", "author": "MONEI ", @@ -23,8 +23,6 @@ "plugins": { "@release-it/bumper": { "out": [ - "../config_es.xml", - "../config_gb.xml", "../monei.php" ] } diff --git a/config_es.xml b/config_es.xml deleted file mode 100644 index 42816f3..0000000 --- a/config_es.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - monei - - - - - - 1 - 0 - \ No newline at end of file diff --git a/config_gb.xml b/config_gb.xml deleted file mode 100644 index 371984f..0000000 --- a/config_gb.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - monei - - - - - - - 1 - 0 - - \ No newline at end of file diff --git a/monei.php b/monei.php index db4fda5..f032407 100644 --- a/monei.php +++ b/monei.php @@ -25,7 +25,7 @@ public function __construct() $this->description = $this->l('Accept Card, Bizum, PayPal and many more payment methods in your store.'); $this->name = 'monei'; $this->tab = 'payments_gateways'; - $this->version = '1.1.4'; + $this->version = '1.1.7'; $this->author = 'MONEI'; $this->need_instance = 0; $this->controllers = [ @@ -1044,7 +1044,7 @@ private function getPaymentMethods($id_cart, $id_customer) ->setCallToActionText($paymentName) ->setAdditionalInformation($template . $template_tokenize) ->setLogo( - Media::getMediaPath(_PS_MODULE_DIR_ . $this->name . '/views/img/payments/unknown.svg') + Media::getMediaPath(_PS_MODULE_DIR_ . $this->name . '/views/img/payments/cards.svg') ) ->setAction($link_create_payment); $payment_methods[] = $option; diff --git a/views/img/.DS_Store b/views/img/.DS_Store deleted file mode 100644 index 8ad28d8..0000000 Binary files a/views/img/.DS_Store and /dev/null differ diff --git a/views/img/monei_cards.png b/views/img/monei_cards.png deleted file mode 100644 index 0720b3f..0000000 Binary files a/views/img/monei_cards.png and /dev/null differ diff --git a/views/img/payments/amex.svg b/views/img/payments/amex.svg index cf0c473..3eaef2c 100644 --- a/views/img/payments/amex.svg +++ b/views/img/payments/amex.svg @@ -1 +1 @@ - \ No newline at end of file +American Express diff --git a/views/img/payments/cards.svg b/views/img/payments/cards.svg new file mode 100644 index 0000000..a0a01e7 --- /dev/null +++ b/views/img/payments/cards.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/views/img/payments/diners.svg b/views/img/payments/diners.svg index cf19768..acbc8ec 100644 --- a/views/img/payments/diners.svg +++ b/views/img/payments/diners.svg @@ -1 +1 @@ - \ No newline at end of file +Diners Club \ No newline at end of file diff --git a/views/img/payments/discover.svg b/views/img/payments/discover.svg index 90881e5..a96118a 100644 --- a/views/img/payments/discover.svg +++ b/views/img/payments/discover.svg @@ -1 +1 @@ - \ No newline at end of file +Discover \ No newline at end of file diff --git a/views/img/payments/jcb.svg b/views/img/payments/jcb.svg index c9b060a..c201767 100644 --- a/views/img/payments/jcb.svg +++ b/views/img/payments/jcb.svg @@ -1 +1 @@ - \ No newline at end of file +JCB \ No newline at end of file diff --git a/views/img/payments/maestro.svg b/views/img/payments/maestro.svg index 0c3e55d..0343fe3 100644 --- a/views/img/payments/maestro.svg +++ b/views/img/payments/maestro.svg @@ -1 +1 @@ - \ No newline at end of file +Maestro \ No newline at end of file diff --git a/views/img/payments/mastercard.svg b/views/img/payments/mastercard.svg index adc613f..126896b 100644 --- a/views/img/payments/mastercard.svg +++ b/views/img/payments/mastercard.svg @@ -1 +1 @@ - \ No newline at end of file +Mastercard \ No newline at end of file diff --git a/views/img/payments/unionpay.svg b/views/img/payments/unionpay.svg index eee9afb..037aebf 100644 --- a/views/img/payments/unionpay.svg +++ b/views/img/payments/unionpay.svg @@ -1 +1 @@ - \ No newline at end of file +Union Pay \ No newline at end of file diff --git a/views/img/payments/visa.svg b/views/img/payments/visa.svg index fc88db0..e20b466 100644 --- a/views/img/payments/visa.svg +++ b/views/img/payments/visa.svg @@ -1 +1 @@ - \ No newline at end of file +Visa \ No newline at end of file