diff --git a/Model/ApiFacade/TpayConfig/ConfigOpen.php b/Model/ApiFacade/TpayConfig/ConfigOpen.php index f142f79..bf5bdeb 100755 --- a/Model/ApiFacade/TpayConfig/ConfigOpen.php +++ b/Model/ApiFacade/TpayConfig/ConfigOpen.php @@ -99,8 +99,8 @@ public function getCardConfig() return [ 'tpaycards' => [ 'payment' => [ - 'tpayLogoUrl' => $this->generateURL('tpaycom_magento2cards::images/logo_tpay.png'), - 'getTpayLoadingGif' => $this->generateURL('tpaycom_magento2cards::images/loading.gif'), + 'tpayLogoUrl' => $this->generateURL('tpaycom_magento2basic::images/logo_tpay.png'), + 'getTpayLoadingGif' => $this->generateURL('tpaycom_magento2basic::images/loading.gif'), 'getRSAkey' => $this->tpay->getRSAKey(), 'fetchJavaScripts' => $this->fetchJavaScripts(), 'addCSS' => $this->createCSS('tpaycom_magento2basic::css/tpaycards.css'), diff --git a/Model/ApiFacade/TpayConfig/ConfigOrigin.php b/Model/ApiFacade/TpayConfig/ConfigOrigin.php index 086a456..fea1164 100755 --- a/Model/ApiFacade/TpayConfig/ConfigOrigin.php +++ b/Model/ApiFacade/TpayConfig/ConfigOrigin.php @@ -100,11 +100,11 @@ private function getCardConfig() return [ 'tpaycards' => [ 'payment' => [ - 'tpayLogoUrl' => $this->generateURL('tpaycom_magento2cards::images/logo_tpay.png'), - 'getTpayLoadingGif' => $this->generateURL('tpaycom_magento2cards::images/loading.gif'), + 'tpayLogoUrl' => $this->generateURL('tpaycom_magento2basic::images/logo_tpay.png'), + 'getTpayLoadingGif' => $this->generateURL('tpaycom_magento2basic::images/loading.gif'), 'getRSAkey' => $this->tpay->getRSAKey(), 'fetchJavaScripts' => $this->fetchJavaScripts(), - 'addCSS' => $this->createCSS('tpaycom_magento2cards::css/tpaycards.css'), + 'addCSS' => $this->createCSS('tpaycom_magento2basic::css/tpaycards.css'), 'redirectUrl' => $this->tpay->getPaymentRedirectUrl(), 'isCustomerLoggedIn' => $this->tpay->isCustomerLoggedIn(), 'customerTokens' => $customerTokensData, diff --git a/view/base/web/images/loading.gif b/view/base/web/images/loading.gif new file mode 100644 index 0000000..a23c6c1 Binary files /dev/null and b/view/base/web/images/loading.gif differ diff --git a/view/frontend/web/template/payment/card-tpay-form.html b/view/frontend/web/template/payment/card-tpay-form.html index aa3a0f9..3ea10ca 100644 --- a/view/frontend/web/template/payment/card-tpay-form.html +++ b/view/frontend/web/template/payment/card-tpay-form.html @@ -6,7 +6,7 @@ class="radio" data-bind="attr: {'id': getCode()}, value: getCode(), checked: isChecked, click: selectPaymentMethod, visible: isRadioButtonVisible()"/>