diff --git a/assets/moka-admin.css b/assets/moka-admin.css
index e8b6958..1143979 100644
--- a/assets/moka-admin.css
+++ b/assets/moka-admin.css
@@ -1,16 +1,212 @@
-.moka-admin-interface{display:flex;justify-content:center;flex-direction:column}.moka-admin-interface .left{width:100%}.moka-admin-interface .right{width:100%;margin-top:20px}.moka-admin-interface .right .optimist{background:#fff;padding:40px;border-radius:4px}.moka-admin-interface .right .optimist .accordion{background-color:#eee;color:#444;cursor:pointer;padding:18px;border:0;text-align:left;outline:0;font-size:15px;transition:.4s;display:block;border-bottom:1px solid #fff}.moka-admin-interface .right .optimist .accordion:hover,.moka-admin-interface .right .optimist .active{background-color:#ccc}.moka-admin-interface .right .optimist .accordion:after{content:"+";color:#777;font-weight:700;float:right;margin-left:5px}.moka-admin-interface .right .optimist .active:after{content:"−"}.moka-admin-interface .right .optimist .panel{background-color:#fff;max-height:0;overflow:hidden;transition:max-height .2s ease-out}#comission-rates{font-family:Arial,Helvetica,sans-serif;border-collapse:collapse;width:100%}#comission-rates td{padding:8px}#comission-rates td,#comission-rates th{border:1px solid #ddd}#comission-rates thead{background-color:#333;color:#fff}#comission-rates tr:nth-child(even){background-color:#f2f2f2}#comission-rates tr:hover{background-color:#ddd}#comission-rates th{padding:12px 8px;text-align:left;background-color:#04aa6d;color:#fff}#comission-rates input[type=number]{width:59px!important;font-size:11px}#comission-rates img{width:100px}.center-title h2{display:flex;justify-content:space-between}.center-title h2 a:hover{background:#d00!important}
-mark {background-color:unset !important;color:#fff;padding:4px 10px;border-radius: 4px;}
-.active_subs { background:rgb(51, 121, 51) !important;cursor:pointer}
-.passive_subs {background:#b13f3f !important;cursor:pointer}
-.subscription-payManually { padding:4px 10px;border-radius: 4px;background:#3f83b1;color:#fff;cursor: pointer;}
-.subscription-cancelManually { padding:4px 10px;border-radius: 4px;background:#b13f74;color:#fff;cursor: pointer;}
-.subscription-noActions { padding:4px 0;border-bottom:1px solid #6c6c6c;color:#6c6c6c;opacity: 0.8;cursor: help;}
-.moka-success{background:#04aa6d;color:#fff;}
-.moka-failed{background:#b13f3f;color:#fff;}
-.moka-admin-test-details { display:flex; justify-content: space-between;}
-.moka-admin-test-results {overflow:hidden;overflow-y:auto; max-height:200px; background: #fff; padding: 1rem; margin: 1rem 0;}
-.moka-admin-test-results:empty {display:none;}
-.js-update-comission-rates,.moka-admin-dotest {color:#fff;background:#333!important;padding:10px;cursor:pointer;font-size:12px}
-.js-update-comission-rates:hover, .moka-admin-dotest:hover {background:#d00!important}
-.moka-admin-savesettings{color:#fff;background:#d00!important;padding:10px;cursor:pointer;font-size:12px}
-.moka-admin-savesettings:hover {background:#333!important}
\ No newline at end of file
+.moka-admin-interface {
+ display: flex;
+ justify-content: center;
+ flex-direction: column
+}
+
+.moka-admin-interface .left {
+ width: 100%
+}
+
+.moka-admin-interface .right {
+ width: 100%;
+ margin-top: 20px
+}
+
+.moka-admin-interface .right .optimist {
+ background: #fff;
+ padding: 40px;
+ border-radius: 4px
+}
+
+.moka-admin-interface .right .optimist .accordion {
+ background-color: #eee;
+ color: #444;
+ cursor: pointer;
+ padding: 18px;
+ border: 0;
+ text-align: left;
+ outline: 0;
+ font-size: 15px;
+ transition: .4s;
+ display: block;
+ border-bottom: 1px solid #fff
+}
+
+.moka-admin-interface .right .optimist .accordion:hover,
+.moka-admin-interface .right .optimist .active {
+ background-color: #ccc
+}
+
+.moka-admin-interface .right .optimist .accordion:after {
+ content: "+";
+ color: #777;
+ font-weight: 700;
+ float: right;
+ margin-left: 5px
+}
+
+.moka-admin-interface .right .optimist .active:after {
+ content: "−"
+}
+
+.moka-admin-interface .right .optimist .panel {
+ background-color: #fff;
+ max-height: 0;
+ overflow: hidden;
+ transition: max-height .2s ease-out
+}
+
+.moka-admin-interface button:disabled {
+ cursor: not-allowed;
+ opacity: .7;
+ pointer-events: none;
+}
+
+#comission-rates {
+ font-family: Arial, Helvetica, sans-serif;
+ border-collapse: collapse;
+ width: 100%
+}
+
+#comission-rates td {
+ padding: 8px
+}
+
+#comission-rates td,
+#comission-rates th {
+ border: 1px solid #ddd
+}
+
+#comission-rates thead {
+ background-color: #333;
+ color: #fff
+}
+
+#comission-rates tr:nth-child(even) {
+ background-color: #f2f2f2
+}
+
+#comission-rates tr:hover {
+ background-color: #ddd
+}
+
+#comission-rates th {
+ padding: 12px 8px;
+ text-align: left;
+ background-color: #04aa6d;
+ color: #fff
+}
+
+#comission-rates input[type=number] {
+ width: 59px !important;
+ font-size: 11px
+}
+
+#comission-rates img {
+ width: 100px
+}
+
+.center-title h2 {
+ display: flex;
+ justify-content: space-between
+}
+
+.center-title h2 a:hover {
+ background: #d00 !important
+}
+
+mark {
+ background-color: unset !important;
+ color: #fff;
+ padding: 4px 10px;
+ border-radius: 4px;
+}
+
+.active_subs {
+ background: rgb(51, 121, 51) !important;
+ cursor: pointer
+}
+
+.passive_subs {
+ background: #b13f3f !important;
+ cursor: pointer
+}
+
+.subscription-payManually {
+ padding: 4px 10px;
+ border-radius: 4px;
+ background: #3f83b1;
+ color: #fff;
+ cursor: pointer;
+}
+
+.subscription-cancelManually {
+ padding: 4px 10px;
+ border-radius: 4px;
+ background: #b13f74;
+ color: #fff;
+ cursor: pointer;
+}
+
+.subscription-noActions {
+ padding: 4px 0;
+ border-bottom: 1px solid #6c6c6c;
+ color: #6c6c6c;
+ opacity: 0.8;
+ cursor: help;
+}
+
+.moka-success {
+ background: #04aa6d;
+ color: #fff;
+}
+
+.moka-failed {
+ background: #b13f3f;
+ color: #fff;
+}
+
+.moka-admin-test-details {
+ display: flex;
+ justify-content: space-between;
+}
+
+.moka-admin-test-results {
+ overflow: hidden;
+ overflow-y: auto;
+ max-height: 200px;
+ background: #fff;
+ padding: 1rem;
+ margin: 1rem 0;
+}
+
+.moka-admin-test-results:empty {
+ display: none;
+}
+
+.js-update-comission-rates,
+.moka-admin-dotest {
+ color: #fff;
+ background: #333 !important;
+ padding: 10px;
+ cursor: pointer;
+ font-size: 12px
+}
+
+.js-update-comission-rates:hover,
+.moka-admin-dotest:hover {
+ background: #d00 !important
+}
+
+.moka-admin-savesettings {
+ color: #fff;
+ background: #d00 !important;
+ padding: 10px;
+ cursor: pointer;
+ font-size: 12px
+}
+
+.moka-admin-savesettings:hover {
+ background: #333 !important
+}
\ No newline at end of file
diff --git a/assets/moka.css b/assets/moka.css
index 085505a..c206066 100644
--- a/assets/moka.css
+++ b/assets/moka.css
@@ -1,149 +1,214 @@
-/**
-/wp-content/plugins/woocommerce/assets/images/icons
-*/
-#mokapay-card-number {
- background-size: 10% auto !important;
- background-position: right 10px bottom 5px !important;
- display: flex;
- justify-content: center;
- padding-right:10px !important;
- background-size:40px auto !important;
-}
-#mokapay-card-number.visa {
- background: url('img/cards/visa.png') center right no-repeat;
-}
-#mokapay-card-number.mastercard {
- background: url('img/cards/mastercard.png') center right no-repeat;
-}
-#mokapay-card-number.amex {
- background: url('img/cards/amex.png') center right no-repeat;
-}
-#mokapay-card-number.discover {
- background: url('img/cards/discover.png') center right no-repeat;
-}
-
-.wc_payment_method .payment_box.payment_method_mokapay fieldset {
- display:table;
-}
-
-.wc_payment_method .payment_box.payment_method_mokapay select{
- width:100% !important;
-}
-.woocommerce #payment .form-row select, .woocommerce-page #payment .form-row select {
- width:100% !important;
-}
-/*
-.payment_method_mokapay .form-row-first {width:100% !important;;}
-.payment_method_mokapay .form-row-last {width:100% !important;}*/
-
-.mokapay-save-card-info-message {
- padding:2% 0;
- font-size:0.7rem;
- border-top:1px solid #333;
- margin-top:15px;
- display:flex;
- justify-content:flex-start;
-}
-
-.text-center {text-align:center !important}
-.active_subs { background:rgb(51, 121, 51) !important;cursor:pointer}
-.passive_subs {background:#b13f3f !important;cursor:pointer}
-.subscription-payManually { padding:4px 10px;border-radius: 4px;background:#3f83b1;color:#fff;cursor: pointer;}
-.subscription-cancelManually { padding:4px 10px;border-radius: 4px;background:#b13f74;color:#fff;cursor: pointer;}
-.subscription-noActions { padding:4px 0;border-bottom:1px solid #6c6c6c;color:#6c6c6c;opacity: 0.8;cursor: help;}
-#subscription_ajax_response p {background-color: #b13f3f;color:#fff;text-align: center;padding: 10px;;}
-#subscription_ajax_response p.message {background-color: #3f83b1;color:#fff;text-align: center;padding: 10px;;}
-
-.installment--table--container {
- max-width: unset !important;
- margin:unset !important;
- padding:unset !important;
- display: flex;
- flex-wrap: wrap;
- margin: 0px -12px;
-}
-.installment--table--column {
- width: 24%;
- margin: 0px 0.5% 20px 0.5%;
- box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
-
-}
-.installment--table--column .perrate {
- display:flex;
- justify-content: space-between !important;
- align-items: center;
- text-align: center;
- font-size:14px;
- line-height:40px;
- border-bottom:1px solid rgb(245, 245, 245);
- border-left:1px solid rgb(245, 245, 245);
- border-right:1px solid rgb(245, 245, 245);
- padding:0 4px;
- background:#fff;
-}
-.installment--table--column .perrate div {
- text-align: center;
- border-right:1px solid rgb(245, 245, 245);
- width:33.3%;
-}
-.installment--table--table-head div{
- text-align: center;
- width:33.3%;
- border-bottom:unset;
-}
-.installment--table--table-head div:last-child {
- border-right: unset;
- border-bottom: unset;
-}
-.installment--table--column .perrate div:last-child {
- border-right: unset;;
-}
-.installment--table--column .perrate div.empty {
- text-align: center;
- border-left:1px solid rgb(245, 245, 245);
- border-right:1px solid rgb(245, 245, 245);
- width:100%;
-}
-.installment--table--column .perrate div.perUnitPrice {
- font-weight: bold;
-}
-.installment--table--table-head {
- display:flex;
- justify-content: space-between;
- align-items: center;
- text-align: center;
- font-size:14px;
- font-weight:bold;
- line-height:34px;
- padding:4px;
- background:#888 !important;
- color:#fff;
-}
-.installment--table--head {
- background-color: rgb(245, 245, 245);
- height: 44px;
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- border-top-left-radius: 4px;
- border-top-right-radius: 4px;
-}
-.installment--table--head img{
- height: 35px;
- width: 65px;
- object-fit: contain;
-}
-
-.min--installment--price {
- align-items: center;
- background: #e6f1f4;
- border: 1px solid #bdd5dc;
- border-radius: 8px;
- padding: 8px;
- font-size:17px;
- margin:10px 0;
- cursor: pointer;
- display:inline-flex;
-}
-.min--installment--price span {font-weight: bold;}
\ No newline at end of file
+ #mokapay-card-number {
+ background-size: 10% auto !important;
+ background-position: right 10px bottom 5px !important;
+ display: flex;
+ justify-content: center;
+ padding-right: 10px !important;
+ background-size: 40px auto !important;
+ }
+
+ #mokapay-card-number.visa {
+ background: #fff url('img/cards/visa.png') center right no-repeat;
+ }
+
+ #mokapay-card-number.mastercard {
+ background: #fff url('img/cards/mastercard.png') center right no-repeat;
+ }
+
+ #mokapay-card-number.amex {
+ background: #fff url('img/cards/amex.png') center right no-repeat;
+ }
+
+ #mokapay-card-number.discover {
+ background: #fff url('img/cards/discover.png') center right no-repeat;
+ }
+
+ .wc_payment_method .payment_box.payment_method_mokapay fieldset {
+ display: table;
+ }
+
+ .wc_payment_method .payment_box.payment_method_mokapay select {
+ width: 100% !important;
+ }
+
+ .woocommerce #payment .form-row select,
+ .woocommerce-page #payment .form-row select {
+ width: 100% !important;
+ }
+
+ .mokapay-save-card-info-message {
+ padding: 2% 0;
+ font-size: 0.7rem;
+ border-top: 1px solid #333;
+ margin-top: 15px;
+ display: flex;
+ justify-content: flex-start;
+ }
+
+ .text-center {
+ text-align: center !important
+ }
+
+ .active_subs {
+ background: rgb(51, 121, 51) !important;
+ cursor: pointer
+ }
+
+ .passive_subs {
+ background: #b13f3f !important;
+ cursor: pointer
+ }
+
+ .subscription-payManually {
+ padding: 4px 10px;
+ border-radius: 4px;
+ background: #3f83b1;
+ color: #fff;
+ cursor: pointer;
+ }
+
+ .subscription-cancelManually {
+ padding: 4px 10px;
+ border-radius: 4px;
+ background: #b13f74;
+ color: #fff;
+ cursor: pointer;
+ }
+
+ .subscription-noActions {
+ padding: 4px 0;
+ border-bottom: 1px solid #6c6c6c;
+ color: #6c6c6c;
+ opacity: 0.8;
+ cursor: help;
+ }
+
+ #subscription_ajax_response p {
+ background-color: #b13f3f;
+ color: #fff;
+ text-align: center;
+ padding: 10px;
+ ;
+ }
+
+ #subscription_ajax_response p.message {
+ background-color: #3f83b1;
+ color: #fff;
+ text-align: center;
+ padding: 10px;
+ ;
+ }
+
+ .installment--table--container {
+ max-width: unset !important;
+ margin: unset !important;
+ padding: unset !important;
+ display: flex;
+ flex-wrap: wrap;
+ margin: 0px -12px;
+ }
+
+ .installment--table--column {
+ width: 24%;
+ margin: 0px 0.5% 20px 0.5%;
+ box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
+ }
+
+ .installment--table--column .perrate {
+ display: flex;
+ justify-content: space-between !important;
+ align-items: center;
+ text-align: center;
+ font-size: 14px;
+ line-height: 40px;
+ border-bottom: 1px solid rgb(245, 245, 245);
+ border-left: 1px solid rgb(245, 245, 245);
+ border-right: 1px solid rgb(245, 245, 245);
+ padding: 0 4px;
+ background: #fff;
+ }
+
+ .installment--table--column .perrate div {
+ text-align: center;
+ border-right: 1px solid rgb(245, 245, 245);
+ width: 33.3%;
+ }
+
+ .installment--table--table-head div {
+ text-align: center;
+ width: 33.3%;
+ border-bottom: unset;
+ }
+
+ .installment--table--table-head div:last-child {
+ border-right: unset;
+ border-bottom: unset;
+ }
+
+ .installment--table--column .perrate div:last-child {
+ border-right: unset;
+ ;
+ }
+
+ .installment--table--column .perrate div.empty {
+ text-align: center;
+ border-left: 1px solid rgb(245, 245, 245);
+ border-right: 1px solid rgb(245, 245, 245);
+ width: 100%;
+ }
+
+ .installment--table--column .perrate div.perUnitPrice {
+ font-weight: bold;
+ }
+
+ .installment--table--table-head {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ text-align: center;
+ font-size: 14px;
+ font-weight: bold;
+ line-height: 34px;
+ padding: 4px;
+ background: #888 !important;
+ color: #fff;
+ }
+
+ .installment--table--head {
+ background-color: rgb(245, 245, 245);
+ height: 44px;
+ width: 100%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ border-top-left-radius: 4px;
+ border-top-right-radius: 4px;
+ }
+
+ .installment--table--head img {
+ height: 35px;
+ width: 65px;
+ object-fit: contain;
+ }
+
+ .min--installment--price {
+ align-items: center;
+ display: inline-flex;
+ background: #e6f1f4;
+ border: 1px solid #bdd5dc;
+ border-radius: 8px;
+ padding: 8px;
+ font-size: 17px;
+ margin: 10px 0;
+ cursor: pointer;
+ }
+
+ .min--installment--price span {
+ font-weight: bold;
+ }
+
+ @media only screen and (min-device-width : 320px) and (max-device-width : 768px) {
+ .installment--table--column {
+ width: 100% !important;
+ }
+ }
\ No newline at end of file
diff --git a/assets/moka.js b/assets/moka.js
index 17047e5..14add23 100644
--- a/assets/moka.js
+++ b/assets/moka.js
@@ -1,7 +1,8 @@
jQuery(document).ready(function () {
- console.info('Moka PAY Core Js File loaded, successfully. Version ' + moka_ajax.version);
+ console.info('%cMoka PAY Core Js File loaded, successfully. Version ' + moka_ajax.version, 'background:#3465b1; color:#ffffff; padding:1px 3px;');
let binCache = false;
let binXhr = false;
+ let binInstallment = 1;
/*
* Bin Cache Clear
@@ -9,12 +10,13 @@ jQuery(document).ready(function () {
jQuery(document).on('update_checkout', function () {
binCache = false;
binXhr = false;
+ jQuery('input[name="mokapay-installment').val(binInstallment);
});
/**
* Bin Number Request
*/
- jQuery(document).on('blur keyup click change', 'input#mokapay-card-number', function (e) {
+ jQuery(document).on('input', 'input#mokapay-card-number', function (e) {
let binValue = jQuery(this).val();
let state = jQuery('#mokapay-current-order-state').val();
binValue = binValue.replace(/\s/g, '');
@@ -29,17 +31,26 @@ jQuery(document).ready(function () {
state: state,
}, function (response) {
binXhr = false;
+ binInstallment = 1;
if (response.status === true) {
binCache = binValue.substr(0, 6);
jQuery('#ajaxify-installment-table').html(response.html);
}
}, 'json').fail(function () {
binXhr = false;
+ binInstallment = 1;
$('input#mokapay-card-number').trigger('change');
});
}
});
+ /**
+ * Installment Change
+ */
+ jQuery(document).on('change', 'input[name="mokapay-installment"]', function (e) {
+ binInstallment = jQuery(this).val();
+ });
+
/**
* Cancel Subscription
*/
diff --git a/assets/moka.min.css b/assets/moka.min.css
index ede4a2d..692e222 100644
--- a/assets/moka.min.css
+++ b/assets/moka.min.css
@@ -1 +1 @@
- #mokapay-card-number {background-size: 10% auto !important;background-position: right 10px bottom 5px !important;display: flex;justify-content: center;padding-right:10px !important;background-size:40px auto !important;}#mokapay-card-number.visa {background:#fff url('img/cards/visa.png') center right no-repeat;}#mokapay-card-number.mastercard {background: #fff url('img/cards/mastercard.png') center right no-repeat;}#mokapay-card-number.amex {background: #fff url('img/cards/amex.png') center right no-repeat;}#mokapay-card-number.discover {background: #fff url('img/cards/discover.png') center right no-repeat;}.wc_payment_method .payment_box.payment_method_mokapay fieldset {display:table;}.wc_payment_method .payment_box.payment_method_mokapay select{width:100% !important;}.woocommerce #payment .form-row select, .woocommerce-page #payment .form-row select {width:100% !important;}.mokapay-save-card-info-message {padding:2% 0;font-size:0.7rem;border-top:1px solid #333;margin-top:15px;display:flex;justify-content:flex-start;}.text-center {text-align:center !important}.active_subs {background:rgb(51, 121, 51) !important;cursor:pointer}.passive_subs {background:#b13f3f !important;cursor:pointer}.subscription-payManually {padding:4px 10px;border-radius: 4px;background:#3f83b1;color:#fff;cursor: pointer;}.subscription-cancelManually {padding:4px 10px;border-radius: 4px;background:#b13f74;color:#fff;cursor: pointer;}.subscription-noActions {padding:4px 0;border-bottom:1px solid #6c6c6c;color:#6c6c6c;opacity: 0.8;cursor: help;}#subscription_ajax_response p {background-color: #b13f3f;color:#fff;text-align: center;padding: 10px;;}#subscription_ajax_response p.message {background-color: #3f83b1;color:#fff;text-align: center;padding: 10px;;}.installment--table--container {max-width: unset !important;margin:unset !important;padding:unset !important;display: flex;flex-wrap: wrap;margin: 0px -12px;}.installment--table--column {width: 24%;margin: 0px 0.5% 20px 0.5%;box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;}.installment--table--column .perrate {display:flex;justify-content: space-between !important;align-items: center;text-align: center;font-size:14px;line-height:40px;border-bottom:1px solid rgb(245, 245, 245);border-left:1px solid rgb(245, 245, 245);border-right:1px solid rgb(245, 245, 245);padding:0 4px;background:#fff;}.installment--table--column .perrate div {text-align: center;border-right:1px solid rgb(245, 245, 245);width:33.3%;}.installment--table--table-head div{text-align: center;width:33.3%;border-bottom:unset;}.installment--table--table-head div:last-child {border-right: unset;border-bottom: unset;}.installment--table--column .perrate div:last-child {border-right: unset;;}.installment--table--column .perrate div.empty {text-align: center;border-left:1px solid rgb(245, 245, 245);border-right:1px solid rgb(245, 245, 245);width:100%;}.installment--table--column .perrate div.perUnitPrice {font-weight: bold;}.installment--table--table-head {display:flex;justify-content: space-between;align-items: center;text-align: center;font-size:14px;font-weight:bold;line-height:34px;padding:4px;background:#888 !important;color:#fff;}.installment--table--head {background-color: rgb(245, 245, 245);height: 44px;width: 100%;display: flex;justify-content: center;align-items: center;border-top-left-radius: 4px;border-top-right-radius: 4px;}.installment--table--head img{height: 35px;width: 65px;object-fit: contain;}.min--installment--price {align-items: center;display:inline-flex;background: #e6f1f4;border: 1px solid #bdd5dc;border-radius: 8px;padding: 8px;font-size:17px;margin:10px 0;cursor: pointer;}.min--installment--price span {font-weight: bold;}@media only screen and (min-device-width : 320px) and (max-device-width : 768px) {.installment--table--column {width: 100% !important;}}
\ No newline at end of file
+#mokapay-card-number{background-size:10% auto!important;background-position:right 10px bottom 5px!important;display:flex;justify-content:center;padding-right:10px!important;background-size:40px auto!important}#mokapay-card-number.visa{background:#fff url(img/cards/visa.png) center right no-repeat}#mokapay-card-number.mastercard{background:#fff url(img/cards/mastercard.png) center right no-repeat}#mokapay-card-number.amex{background:#fff url(img/cards/amex.png) center right no-repeat}#mokapay-card-number.discover{background:#fff url(img/cards/discover.png) center right no-repeat}.wc_payment_method .payment_box.payment_method_mokapay fieldset{display:table}.wc_payment_method .payment_box.payment_method_mokapay select{width:100%!important}.woocommerce #payment .form-row select,.woocommerce-page #payment .form-row select{width:100%!important}.mokapay-save-card-info-message{padding:2% 0;font-size:.7rem;border-top:1px solid #333;margin-top:15px;display:flex;justify-content:flex-start}.text-center{text-align:center!important}.active_subs{background:#337933!important;cursor:pointer}.passive_subs{background:#b13f3f!important;cursor:pointer}.subscription-payManually{padding:4px 10px;border-radius:4px;background:#3f83b1;color:#fff;cursor:pointer}.subscription-cancelManually{padding:4px 10px;border-radius:4px;background:#b13f74;color:#fff;cursor:pointer}.subscription-noActions{padding:4px 0;border-bottom:1px solid #6c6c6c;color:#6c6c6c;opacity:.8;cursor:help}#subscription_ajax_response p{background-color:#b13f3f;color:#fff;text-align:center;padding:10px}#subscription_ajax_response p.message{background-color:#3f83b1;color:#fff;text-align:center;padding:10px}.installment--table--container{max-width:unset!important;margin:unset!important;padding:unset!important;display:flex;flex-wrap:wrap;margin:0 -12px}.installment--table--column{width:24%;margin:0 .5% 20px .5%;box-shadow:rgba(0,0,0,.24) 0 3px 8px}.installment--table--column .perrate{display:flex;justify-content:space-between!important;align-items:center;text-align:center;font-size:14px;line-height:40px;border-bottom:1px solid #f5f5f5;border-left:1px solid #f5f5f5;border-right:1px solid #f5f5f5;padding:0 4px;background:#fff}.installment--table--column .perrate div{text-align:center;border-right:1px solid #f5f5f5;width:33.3%}.installment--table--table-head div{text-align:center;width:33.3%;border-bottom:unset}.installment--table--table-head div:last-child{border-right:unset;border-bottom:unset}.installment--table--column .perrate div:last-child{border-right:unset}.installment--table--column .perrate div.empty{text-align:center;border-left:1px solid #f5f5f5;border-right:1px solid #f5f5f5;width:100%}.installment--table--column .perrate div.perUnitPrice{font-weight:700}.installment--table--table-head{display:flex;justify-content:space-between;align-items:center;text-align:center;font-size:14px;font-weight:700;line-height:34px;padding:4px;background:#888!important;color:#fff}.installment--table--head{background-color:#f5f5f5;height:44px;width:100%;display:flex;justify-content:center;align-items:center;border-top-left-radius:4px;border-top-right-radius:4px}.installment--table--head img{height:35px;width:65px;object-fit:contain}.min--installment--price{align-items:center;display:inline-flex;background:#e6f1f4;border:1px solid #bdd5dc;border-radius:8px;padding:8px;font-size:17px;margin:10px 0;cursor:pointer}.min--installment--price span{font-weight:700}@media only screen and (min-device-width :320px) and (max-device-width :768px){.installment--table--column{width:100%!important}}
\ No newline at end of file
diff --git a/changelog.md b/changelog.md
index 4814c59..fa82bf2 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,4 +1,12 @@
-#### Version 3.7.8
+#### Version 3.7.9
+- Improvement : Debug file anonymization
+- Improvement : Missing language values
+- Issue : Bin test unnecessary requests
+- Issue : Form unnecessary line break
+- Issue : Connection test fix
+- Issue : Secure Renegotiation
+
+#### Version 3.7.8 Beta
- Feauture : Limit instalment.
- Feauture : Limit instalment by product
- Feauture : Remote connection test
diff --git a/core/library/Moka_Core.php b/core/library/Moka_Core.php
index d12501d..9402cc4 100644
--- a/core/library/Moka_Core.php
+++ b/core/library/Moka_Core.php
@@ -695,11 +695,13 @@ public function get_test_cards($force = false){
public function debug_file(){
$check = get_option( 'woocommerce_mokapay_debugfile' );
- if($check){
+ $version = get_option( 'woocommerce_mokapay_version' );
+ if( $check && $version == OPTIMISTHUB_MOKA_PAY_VERSION ){
return $check;
}
- $filename = wp_generate_uuid4().'.log';
+ $filename = wp_generate_uuid4().'.moka';
update_option( 'woocommerce_mokapay_debugfile', $filename );
+ update_option( 'woocommerce_mokapay_version', OPTIMISTHUB_MOKA_PAY_VERSION );
return $filename;
}
@@ -708,6 +710,8 @@ private function save_log( $type, $data ){
$log_data = [
'============================' . date_i18n('d.m.Y H:i:s') . '============================',
$type. ' => '.serialize($data),
+ '========SERVER_ADDR=========' . $_SERVER['SERVER_ADDR'] . '============================',
+ '========REMOTE_ADDR=========' . $_SERVER['REMOTE_ADDR'] . '============================',
'============================' . date_i18n('d.m.Y H:i:s') . '============================',
];
if(is_writable(OPTIMISTHUB_MOKA_DIR)){
diff --git a/core/library/Moka_Gateway.php b/core/library/Moka_Gateway.php
index e8abbdb..d9d49a5 100644
--- a/core/library/Moka_Gateway.php
+++ b/core/library/Moka_Gateway.php
@@ -450,7 +450,7 @@ public function payment_fields()
documentation', 'moka-woocommerce' );
$this->description = trim( $this->description );
}
- echo wpautop( wp_kses_post( $this->description ) ).'
';
+ echo wpautop( wp_kses_post( $this->description ) );
}
do_action( 'woocommerce_credit_card_form_start', $this->id );
@@ -747,7 +747,7 @@ public function receipt_page( $orderId )
if(isset($_POST) && data_get($_POST, 'resultCode') && data_get($_POST, 'hashValue'))
{
wc_add_notice( __( 'Your payment could not be collected. Please try again.', 'moka-woocommerce' ), 'notice' );
- echo '
';
+ echo '';
$recordParams['result_message'] = self::errorMessagesWithErrorCodes(data_get($_POST, 'resultCode'));
self::saveRecord($recordParams);
@@ -1027,15 +1027,6 @@ private function mokaPosErrorMessages($string)
case "PaymentDealer.CheckPaymentDealerAuthentication.InvalidRequest":
$errorOutput = __( 'Invalid request detected. Try Again.', 'moka-woocommerce' );
break;
- case "Limit is insufficient":
- $errorOutput = __( 'Your card limit is insufficient.', 'moka-woocommerce' );
- break;
- case "PaymentDealer.RequiredFields.AmountRequired":
- $errorOutput = __( 'It is mandatory to send the transaction amount.', 'moka-woocommerce' );
- break;
- case "PaymentDealer.RequiredFields.ExpMonthRequired":
- $errorOutput = __( 'Sending the expiry date is mandatory.', 'moka-woocommerce' );
- break;
case "PaymentDealer.CheckPaymentDealerAuthentication.InvalidAccount":
$errorOutput = __( 'No dealer found.', 'moka-woocommerce' );
break;
@@ -1043,25 +1034,106 @@ private function mokaPosErrorMessages($string)
$errorOutput = __( 'Virtual pos is not defined for the dealer.', 'moka-woocommerce' );
break;
case "PaymentDealer.CheckDealerPaymentLimits.DailyDealerLimitExceeded":
- $errorOutput = __( 'Any of the daily limits defined for the dealer have been exceeded.', 'moka-woocommerce' );
+ $errorOutput = __( 'Any of the daily limits defined for the dealer have been exceeded.',
+ 'moka-woocommerce' );
break;
- case "PaymentDealer.CheckDealerPaymentLimits.DailyCardLimitExceeded":
- $errorOutput = __( 'No further transactions can be made as the daily limit of the card has been exceeded.', 'moka-woocommerce' );
case "PaymentDealer.CheckCardInfo.InvalidCardInfo":
$errorOutput = __( 'There is an error in the card details, please check.', 'moka-woocommerce' );
break;
- case "PaymentDealer.DoDirectPayment3dRequest.InstallmentNotAvailableForForeignCurrencyTransaction":
- $errorOutput = __( 'No installments in foreign currency.', 'moka-woocommerce' );
+ case "PaymentDealer.CheckDealerPaymentLimits.DailyCardLimitExceeded":
+ $errorOutput = __( 'No further transactions can be made as the daily limit of the card has been
+ exceeded.', 'moka-woocommerce' );
break;
- case "PaymentDealer.DoDirectPayment3dRequest.ThisInstallmentNumberNotAvailableForDealer":
- $errorOutput = __( 'The number of installments is invalid.', 'moka-woocommerce' );
+ case "PaymentDealer.DoDirectPayment3dRequest.InvalidRequest":
+ $errorOutput = __( 'Invalid request detected. Try Again.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.RedirectUrlRequired":
+ $errorOutput = __( 'Redirect Url Required.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.InvalidCurrencyCode":
+ $errorOutput = __( 'Invalid Currency Code.', 'moka-woocommerce' );
break;
case "PaymentDealer.DoDirectPayment3dRequest.InvalidInstallmentNumber":
$errorOutput = __( 'The number of installments is invalid.', 'moka-woocommerce' );
break;
+ case "PaymentDealer.DoDirectPayment3dRequest.InstallmentNotAvailableForForeignCurrencyTransaction":
+ $errorOutput = __( 'No installments in foreign currency.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.ForeignCurrencyNotAvailableForThisDealer":
+ $errorOutput = __( 'No installments in foreign currency.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.PaymentMustBeAuthorization":
+ $errorOutput = __( 'Payment Must Be Authorization.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.AuthorizationForbiddenForThisDealer":
+ $errorOutput = __( 'Authorization Forbidden For This Dealer.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.PoolPaymentNotAvailableForDealer":
+ $errorOutput = __( 'Pool Payment Not Available For This Dealer.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.PoolPaymentRequiredForDealer":
+ $errorOutput = __( 'Pool Payment Required For This Dealer.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.TokenizationNotAvailableForDealer":
+ $errorOutput = __( 'Tokenization Not Available For This Dealer.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.CardTokenCannotUseWithSaveCard":
+ $errorOutput = __( 'Card Token Cannot Use With Save Card.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.CardTokenNotFound":
+ $errorOutput = __( 'Card Token Not Found.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.OnlyCardTokenOrCardNumber":
+ $errorOutput = __( 'Only Card Token Or Card Number.' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.ChannelPermissionNotAvailable":
+ $errorOutput = __( 'Channel Permission Not Available.' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.IpAddressNotAllowed":
+ $errorOutput = __( 'IP address is not available for this operation.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.VirtualPosNotAvailable":
+ $errorOutput = __( 'Virtual Pos Not Available.', 'moka-woocommerce' );
+ break;
case "PaymentDealer.DoDirectPayment3dRequest.ThisInstallmentNumberNotAvailableForVirtualPos":
$errorOutput = __( 'The number of installments is not allowed.', 'moka-woocommerce' );
break;
+ case "PaymentDealer.DoDirectPayment3dRequest.ThisInstallmentNumberNotAvailableForDealer":
+ $errorOutput = __( 'The number of installments is invalid.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.DealerCommissionRateNotFound":
+ $errorOutput = __( 'Dealer Commission Rate Not Found.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.DealerGroupCommissionRateNotFound":
+ $errorOutput = __( 'Dealer Group Commission Rate Not Found.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.InvalidSubMerchantName":
+ $errorOutput = __( 'Invalid Sub Merchant Name.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.InvalidUnitPrice":
+ $errorOutput = __( 'Invalid Unit Price.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.InvalidQuantityValue":
+ $errorOutput = __( 'Invalid Quantity Value.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.BasketAmountIsNotEqualPaymentAmount":
+ $errorOutput = __( 'Basket Amount Is Not Equal Payment Amount.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.BasketProductNotFoundInYourProductList":
+ $errorOutput = __( 'Basket Product Not Found In Your Product List.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.DoDirectPayment3dRequest.MustBeOneOfDealerProductIdOrProductCode":
+ $errorOutput = __( 'Must Be One Of Dealer Product Id Or Product Code.', 'moka-woocommerce' );
+ break;
+ case "Limit is insufficient":
+ $errorOutput = __( 'Your card limit is insufficient.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.RequiredFields.AmountRequired":
+ $errorOutput = __( 'It is mandatory to send the transaction amount.', 'moka-woocommerce' );
+ break;
+ case "PaymentDealer.RequiredFields.ExpMonthRequired":
+ $errorOutput = __( 'Sending the expiry date is mandatory.', 'moka-woocommerce' );
+ break;
default:
$errorOutput = __( 'An unexpected error occurred.', 'moka-woocommerce' );
}
@@ -1107,6 +1179,7 @@ private function errorMessagesWithErrorCodes($code)
'027' => __('User is not authorised to perform this operation','moka-woocommerce'),
'028' => __('Fraud possibility','moka-woocommerce'),
'029' => __('Your card is closed to internet purchases','moka-woocommerce'),
+ '030' => __('Bank Declined Transaction','moka-woocommerce'),
];
if(in_array($code, array_keys($codes))) {
diff --git a/index.php b/index.php
index 32cefd7..e9aa199 100644
--- a/index.php
+++ b/index.php
@@ -3,18 +3,18 @@
* Plugin Name: Moka Payment Gateway for WooCommerce
* Plugin URI: https://github.com/optimisthub/moka-woocommerce
* Description: Moka Payment gateway for woocommerce
- * Version: 3.7.8
+ * Version: 3.7.9
* Author: Optimist Hub
* Author URI: https://optimisthub.com/?utm_source=moka-woocommerce&utm_campaign=moka-woocommerce&utm_content=plugins
* Domain Path: /languages/
* Text Domain: moka-woocommerce
*/
-if (!defined('ABSPATH')) {
+if ( !defined('ABSPATH') ) {
exit;
}
-define( 'OPTIMISTHUB_MOKA_PAY_VERSION', '3.7.8' );
+define( 'OPTIMISTHUB_MOKA_PAY_VERSION', '3.7.9' );
define( 'OPTIMISTHUB_MOKA_BASENAME', plugin_basename( __FILE__ ) );
define( 'OPTIMISTHUB_MOKA_DIR', plugin_dir_path( __FILE__ ) );
define( 'OPTIMISTHUB_MOKA_URL', plugin_dir_url( __FILE__ ) );
@@ -30,11 +30,7 @@ function loadOptimisthubMoka()
{
require __DIR__ . '/vendor/autoload.php';
$path = dirname( plugin_basename(__FILE__) ) . '/languages';
- $result = load_plugin_textdomain( OPTIMISTHUB_MOKA_DOMAIN, false, $path );
- if ( !$result ) {
- $locale = apply_filters('plugin_locale', get_locale(), OPTIMISTHUB_MOKA_DOMAIN);
- dd( 'Could not find ' . $path . '/' . OPTIMISTHUB_MOKA_DOMAIN . '-' . $locale . '.mo' );
- }
+ load_plugin_textdomain( OPTIMISTHUB_MOKA_DOMAIN, false, $path );
}
/**
diff --git a/languages/moka-woocommerce-en_US.mo b/languages/moka-woocommerce-en_US.mo
index 16ff06c..fa59a8f 100644
Binary files a/languages/moka-woocommerce-en_US.mo and b/languages/moka-woocommerce-en_US.mo differ
diff --git a/languages/moka-woocommerce-en_US.po b/languages/moka-woocommerce-en_US.po
index 4aa7a5a..6b2b83c 100644
--- a/languages/moka-woocommerce-en_US.po
+++ b/languages/moka-woocommerce-en_US.po
@@ -3,8 +3,8 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-08T11:49:40+00:00\n"
-"PO-Revision-Date: 2023-10-01 14:04+0000\n"
-"Last-Translator: Cuneyt Cil \n"
+"PO-Revision-Date: 2023-10-16 17:52+0000\n"
+"Last-Translator: Administrator\n"
"Language-Team: English (United States)\n"
"Language: en_US\n"
"MIME-Version: 1.0\n"
@@ -13,6 +13,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Loco https://localise.biz/\n"
"X-Domain: moka-woocommerce\n"
+"X-Loco-Version: 2.6.6; wp-6.3.2"
#: core/library/Moka_Gateway.php:179 core/library/Moka_Gateway.php:180
#: core/library/Moka_Gateway.php:181 core/library/Moka_Gateway.php:182
@@ -24,12 +25,12 @@ msgstr ""
msgid "%s Installement"
msgstr "%s Installement"
-#: core/library/Moka_Gateway.php:1105
+#: core/library/Moka_Gateway.php:1177
#| msgid "3D authorisation Error"
msgid "3D authorisation error"
msgstr "3D authorisation error"
-#: core/library/Moka_Gateway.php:1104
+#: core/library/Moka_Gateway.php:1176
msgid "3D confirmation received but money could not be withdrawn from the part"
msgstr ""
"3D confirmation received but money could not be withdrawn from the part"
@@ -68,15 +69,15 @@ msgstr "Active"
msgid "Amount"
msgstr "Amount"
-#: core/library/Moka_Gateway.php:1115 core/library/Optimisthub_Ajax.php:247
+#: core/library/Moka_Gateway.php:1188 core/library/Optimisthub_Ajax.php:247
msgid "An unexpected error occurred"
msgstr "An unexpected error occurred"
-#: core/library/Moka_Gateway.php:1066
+#: core/library/Moka_Gateway.php:1138
msgid "An unexpected error occurred."
msgstr "An unexpected error occurred."
-#: core/library/Moka_Gateway.php:1046
+#: core/library/Moka_Gateway.php:1037
msgid "Any of the daily limits defined for the dealer have been exceeded."
msgstr "Any of the daily limits defined for the dealer have been exceeded."
@@ -88,28 +89,44 @@ msgstr "Api Password"
msgid "Api Username"
msgstr "Api Username"
-#: core/library/Moka_Gateway.php:1096
+#: core/library/Moka_Gateway.php:1168
msgid "Approval mechanism not available"
msgstr "Approval mechanism not available"
+#: core/library/Moka_Gateway.php:1069
+msgid "Authorization Forbidden For This Dealer."
+msgstr "Authorization Forbidden For This Dealer."
+
+#: core/library/Moka_Gateway.php:1182
+msgid "Bank Declined Transaction"
+msgstr "Bank Declined Transaction"
+
#: core/library/Moka_Gateway.php:288 core/library/Moka_Gateway.php:489
#: core/library/Moka_Subscriptions.php:625
msgid "Bank Identification Test"
msgstr "Bank Identification Test"
-#: core/library/Moka_Gateway.php:1106
+#: core/library/Moka_Gateway.php:1178
msgid "Bank or Card does not support 3D secure"
msgstr "Bank or Card does not support 3D secure"
-#: core/library/Moka_Gateway.php:1090
+#: core/library/Moka_Gateway.php:1162
msgid "Bank SSL error"
msgstr "Bank SSL error"
+#: core/library/Moka_Gateway.php:1120
+msgid "Basket Amount Is Not Equal Payment Amount."
+msgstr "Basket Amount Is Not Equal Payment Amount."
+
+#: core/library/Moka_Gateway.php:1123
+msgid "Basket Product Not Found In Your Product List."
+msgstr "Basket Product Not Found In Your Product List."
+
#: core/library/Moka_Subscriptions.php:407
msgid "Begining: "
msgstr "Begining: "
-#: core/library/Moka_Gateway.php:1091
+#: core/library/Moka_Gateway.php:1163
msgid "Call your bank for manual confirmation"
msgstr "Call your bank for manual confirmation"
@@ -135,11 +152,11 @@ msgstr "Card Code"
msgid "Card details have been successfully verified."
msgstr "Card details have been successfully verified."
-#: core/library/Moka_Gateway.php:1092
+#: core/library/Moka_Gateway.php:1164
msgid "Card details incorrect"
msgstr "Card details incorrect"
-#: core/library/Moka_Gateway.php:1086
+#: core/library/Moka_Gateway.php:1158
msgid "Card expiry date incorrect"
msgstr "Card expiry date incorrect"
@@ -147,6 +164,14 @@ msgstr "Card expiry date incorrect"
msgid "Card Number"
msgstr "Card Number"
+#: core/library/Moka_Gateway.php:1081
+msgid "Card Token Cannot Use With Save Card."
+msgstr "Card Token Cannot Use With Save Card."
+
+#: core/library/Moka_Gateway.php:1084
+msgid "Card Token Not Found."
+msgstr "Card Token Not Found."
+
#: core/library/Optimisthub_Ajax.php:342
msgid "Cash In Advence"
msgstr "Cash In Advence"
@@ -172,7 +197,7 @@ msgstr "Created At"
msgid "Credit Card"
msgstr "Credit Card"
-#: core/library/Moka_Gateway.php:1083
+#: core/library/Moka_Gateway.php:1155
msgid "Credit card number not in valid format"
msgstr "Credit card number not in valid format"
@@ -185,10 +210,18 @@ msgstr "Customer Id"
msgid "Day"
msgstr "Day"
+#: core/library/Moka_Gateway.php:1105
+msgid "Dealer Commission Rate Not Found."
+msgstr "Dealer Commission Rate Not Found."
+
+#: core/library/Moka_Gateway.php:1108
+msgid "Dealer Group Commission Rate Not Found."
+msgstr "Dealer Group Commission Rate Not Found."
+
#: core/library/Moka_Init.php:69
msgid "Default"
msgstr ""
-"\n"
+"Default\n"
#: core/library/Moka_Gateway.php:109
msgid "Description"
@@ -254,27 +287,27 @@ msgstr "End"
msgid "Failed"
msgstr "Failed"
-#: core/library/Moka_Gateway.php:1088
+#: core/library/Moka_Gateway.php:1160
msgid "Failed to connect to bank"
msgstr "Failed to connect to bank"
-#: core/library/Moka_Gateway.php:1081
+#: core/library/Moka_Gateway.php:1153
msgid "Failed to obtain cardholder approval"
msgstr "Failed to obtain cardholder approval"
-#: core/library/Moka_Gateway.php:1103
+#: core/library/Moka_Gateway.php:1175
msgid "Fake approval"
msgstr "Fake approval"
-#: core/library/Moka_Gateway.php:1108
+#: core/library/Moka_Gateway.php:1180
msgid "Fraud possibility"
msgstr "Fraud possibility"
-#: core/library/Moka_Gateway.php:1080
+#: core/library/Moka_Gateway.php:1152
msgid "General Error"
msgstr "General Error"
-#: core/library/Moka_Gateway.php:1084
+#: core/library/Moka_Gateway.php:1156
msgid "General rejection"
msgstr "General rejection"
@@ -350,31 +383,51 @@ msgstr "Installment Table"
msgid "Installment table display on product pages"
msgstr "Installment table display on product pages"
-#: core/library/Moka_Gateway.php:1094
+#: core/library/Moka_Gateway.php:1166
msgid "Invalid account number"
msgstr "Invalid account number"
-#: core/library/Moka_Gateway.php:1095
+#: core/library/Moka_Gateway.php:1054
+msgid "Invalid Currency Code."
+msgstr "Invalid Currency Code."
+
+#: core/library/Moka_Gateway.php:1167
msgid "Invalid CVV"
msgstr "Invalid CVV"
-#: core/library/Moka_Gateway.php:1102
+#: core/library/Moka_Gateway.php:1174
msgid "Invalid merchant"
msgstr "Invalid CVV"
-#: core/library/Moka_Gateway.php:1028
+#: core/library/Moka_Gateway.php:1117
+msgid "Invalid Quantity Value."
+msgstr "Invalid Quantity Value."
+
+#: core/library/Moka_Gateway.php:1028 core/library/Moka_Gateway.php:1048
msgid "Invalid request detected. Try Again."
msgstr "Invalid request detected. Try Again."
-#: core/library/Moka_Gateway.php:1087
+#: core/library/Moka_Gateway.php:1111
+msgid "Invalid Sub Merchant Name."
+msgstr "Invalid Sub Merchant Name."
+
+#: core/library/Moka_Gateway.php:1159
msgid "Invalid transaction"
msgstr "Invalid transaction"
+#: core/library/Moka_Gateway.php:1114
+msgid "Invalid Unit Price."
+msgstr "Invalid Unit Price."
+
+#: core/library/Moka_Gateway.php:1093
+msgid "IP address is not available for this operation."
+msgstr "IP address is not available for this operation."
+
#: core/library/Moka_Gateway.php:151
msgid "It allows you to sell products via subscription method on your site."
msgstr "It allows you to sell products via subscription method on your site."
-#: core/library/Moka_Gateway.php:1034
+#: core/library/Moka_Gateway.php:1132
msgid "It is mandatory to send the transaction amount."
msgstr "It is mandatory to send the transaction amount."
@@ -386,7 +439,7 @@ msgstr "Limit Installement"
msgid "Limit Installement By Product"
msgstr "Limit Installement By Product"
-#: core/library/Moka_Gateway.php:1099
+#: core/library/Moka_Gateway.php:1171
msgid "Lost card"
msgstr "Lost card"
@@ -408,6 +461,10 @@ msgstr "Moka Pos Settings"
msgid "Month"
msgstr "Month"
+#: core/library/Moka_Gateway.php:1126
+msgid "Must Be One Of Dealer Product Id Or Product Code."
+msgstr "Must Be One Of Dealer Product Id Or Product Code."
+
#: core/library/Moka_Gateway.php:384 core/library/Moka_Gateway.php:391
msgid "Name On Card"
msgstr "Name On Card"
@@ -416,19 +473,22 @@ msgstr "Name On Card"
msgid "Next Payment"
msgstr "Next Payment"
-#: core/library/Moka_Gateway.php:1040
+#: core/library/Moka_Gateway.php:1031
msgid "No dealer found."
msgstr "No dealer found."
-#: core/library/Moka_Gateway.php:1049
+#: core/library/Moka_Gateway.php:1044
+#| msgid ""
+#| "No further transactions can be made as the daily limit of the card has "
+#| "been exceeded."
msgid ""
-"No further transactions can be made as the daily limit of the card has been "
-"exceeded."
+"No further transactions can be made as the daily limit of the card has been\n"
+" exceeded."
msgstr ""
"No further transactions can be made as the daily limit of the card has been "
"exceeded."
-#: core/library/Moka_Gateway.php:1054
+#: core/library/Moka_Gateway.php:1060 core/library/Moka_Gateway.php:1063
msgid "No installments in foreign currency."
msgstr "No installments in foreign currency."
@@ -484,6 +544,10 @@ msgstr "Payment Failed"
msgid "Payment is processing via Moka Pay."
msgstr "Payment is processing via Moka Pay."
+#: core/library/Moka_Gateway.php:1066
+msgid "Payment Must Be Authorization."
+msgstr "Payment Must Be Authorization."
+
#: core/library/Moka_Subscriptions.php:216
#: core/library/Moka_Subscriptions.php:232
#: core/library/Moka_Subscriptions_History.php:61
@@ -500,10 +564,22 @@ msgid ""
"settings."
msgstr "Payment Failed"
+#: core/library/Moka_Gateway.php:1072
+msgid "Pool Payment Not Available For This Dealer."
+msgstr "Pool Payment Not Available For This Dealer."
+
+#: core/library/Moka_Gateway.php:1075
+msgid "Pool Payment Required For This Dealer."
+msgstr "Pool Payment Required For This Dealer."
+
#: core/library/Moka_Gateway.php:224
msgid "Position of Installment Options Tab among other tabs"
msgstr "Position of Installment Options Tab among other tabs"
+#: core/library/Moka_Gateway.php:1051
+msgid "Redirect Url Required."
+msgstr "Redirect Url Required."
+
#: core/library/Moka_Gateway.php:289 core/library/Moka_Gateway.php:490
#: core/library/Moka_Subscriptions.php:626
msgid "Remote Connection Test"
@@ -513,7 +589,7 @@ msgstr "Remote Connection Test"
msgid "Renewal Period"
msgstr "Renewal Period"
-#: core/library/Moka_Gateway.php:1100
+#: core/library/Moka_Gateway.php:1172
msgid "Restricted card"
msgstr "Restricted card"
@@ -521,7 +597,7 @@ msgstr "Restricted card"
msgid "Save Settings"
msgstr "Save Settings"
-#: core/library/Moka_Gateway.php:1037
+#: core/library/Moka_Gateway.php:1135
msgid "Sending the expiry date is mandatory."
msgstr "Sending the expiry date is mandatory."
@@ -537,7 +613,7 @@ msgstr "Show Installment Total Amount"
msgid "Status"
msgstr "Status"
-#: core/library/Moka_Gateway.php:1098
+#: core/library/Moka_Gateway.php:1170
msgid "Stolen card"
msgstr "Stolen card"
@@ -586,7 +662,7 @@ msgstr "Subscriptions"
msgid "Success"
msgstr "Success"
-#: core/library/Moka_Gateway.php:1097
+#: core/library/Moka_Gateway.php:1169
msgid "System error"
msgstr "System error"
@@ -595,6 +671,10 @@ msgid "Test Informations"
msgstr "Test Informations"
#: core/library/Moka_Gateway.php:449
+#| msgid ""
+#| "TEST MODE ENABLED. In test mode, you can use the card numbers listed in\n"
+#| " "
+#| "documentation"
msgid ""
"TEST MODE ENABLED. In test mode, you can use the card numbers listed in\n"
" documentation"
@@ -610,11 +690,11 @@ msgstr ""
"The default value is 20. You can change the tab position according to the "
"features provided by your theme or plugins. Example (like 40,60,90.)"
-#: core/library/Moka_Gateway.php:1057 core/library/Moka_Gateway.php:1060
+#: core/library/Moka_Gateway.php:1057 core/library/Moka_Gateway.php:1102
msgid "The number of installments is invalid."
msgstr "The number of installments is invalid."
-#: core/library/Moka_Gateway.php:1063
+#: core/library/Moka_Gateway.php:1099
msgid "The number of installments is not allowed."
msgstr "The number of installments is not allowed."
@@ -632,7 +712,7 @@ msgid ""
msgstr ""
"The test function can be performed after saving the merchant information."
-#: core/library/Moka_Gateway.php:1051
+#: core/library/Moka_Gateway.php:1041
msgid "There is an error in the card details, please check."
msgstr "There is an error in the card details, please check."
@@ -652,7 +732,7 @@ msgstr ""
"This field provides convenience for the separation of orders during "
"reporting for the Moka POS module used in more than one site. (Optional)"
-#: core/library/Moka_Gateway.php:1101
+#: core/library/Moka_Gateway.php:1173
msgid "Timeout"
msgstr "Timeout"
@@ -660,6 +740,10 @@ msgstr "Timeout"
msgid "Title"
msgstr "Title"
+#: core/library/Moka_Gateway.php:1078
+msgid "Tokenization Not Available For This Dealer."
+msgstr "Tokenization Not Available For This Dealer."
+
#: core/library/Moka_Init.php:223
msgid "Total Amount"
msgstr "Total Amount"
@@ -672,11 +756,11 @@ msgstr "Total."
msgid "Transaction Id"
msgstr "Transaction Id"
-#: core/library/Moka_Gateway.php:1085
+#: core/library/Moka_Gateway.php:1157
msgid "Transaction not open to cardholder"
msgstr "Transaction not open to cardholder"
-#: core/library/Moka_Gateway.php:1089
+#: core/library/Moka_Gateway.php:1161
msgid "Undefined error"
msgstr "Undefined error"
@@ -688,14 +772,18 @@ msgstr "Update installment rates via Moka"
msgid "User ID"
msgstr "User ID"
-#: core/library/Moka_Gateway.php:1107
+#: core/library/Moka_Gateway.php:1179
msgid "User is not authorised to perform this operation"
msgstr "User is not authorised to perform this operation"
-#: core/library/Moka_Gateway.php:1043
+#: core/library/Moka_Gateway.php:1034
msgid "Virtual pos is not defined for the dealer."
msgstr "Virtual pos is not defined for the dealer."
+#: core/library/Moka_Gateway.php:1096
+msgid "Virtual Pos Not Available."
+msgstr "Virtual Pos Not Available."
+
#: core/library/Moka_Gateway.php:745 core/library/Moka_Gateway.php:756
msgid "Waiting for user payment."
msgstr "Waiting for user payment."
@@ -735,11 +823,11 @@ msgstr ""
"You can choose what the status of the order will be when your payments are "
"successfully completed."
-#: core/library/Moka_Gateway.php:1093
+#: core/library/Moka_Gateway.php:1165
msgid "Your card does not support 3D secure"
msgstr "Your card does not support 3D secure"
-#: core/library/Moka_Gateway.php:1082
+#: core/library/Moka_Gateway.php:1154
msgid "Your card has insufficient limit."
msgstr "Your card has insufficient limit."
@@ -753,11 +841,11 @@ msgstr ""
"Moka with the assurance of Moka. Your next subscription payment will be "
"taken with this card."
-#: core/library/Moka_Gateway.php:1109
+#: core/library/Moka_Gateway.php:1181
msgid "Your card is closed to internet purchases"
msgstr "Your card is closed to internet purchases"
-#: core/library/Moka_Gateway.php:1031
+#: core/library/Moka_Gateway.php:1129
msgid "Your card limit is insufficient."
msgstr "Your card limit is insufficient."
diff --git a/languages/moka-woocommerce-tr_TR.mo b/languages/moka-woocommerce-tr_TR.mo
index 954ca04..f539be9 100644
Binary files a/languages/moka-woocommerce-tr_TR.mo and b/languages/moka-woocommerce-tr_TR.mo differ
diff --git a/languages/moka-woocommerce-tr_TR.po b/languages/moka-woocommerce-tr_TR.po
index 3bd17c9..4db81d8 100644
--- a/languages/moka-woocommerce-tr_TR.po
+++ b/languages/moka-woocommerce-tr_TR.po
@@ -3,8 +3,8 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-08T11:49:40+00:00\n"
-"PO-Revision-Date: 2023-10-01 14:11+0000\n"
-"Last-Translator: Cuneyt Cil \n"
+"PO-Revision-Date: 2023-10-16 17:59+0000\n"
+"Last-Translator: Administrator\n"
"Language-Team: Türkçe\n"
"Language: tr_TR\n"
"MIME-Version: 1.0\n"
@@ -13,6 +13,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Loco https://localise.biz/\n"
"X-Domain: moka-woocommerce\n"
+"X-Loco-Version: 2.6.6; wp-6.3.2"
#: core/library/Moka_Gateway.php:179 core/library/Moka_Gateway.php:180
#: core/library/Moka_Gateway.php:181 core/library/Moka_Gateway.php:182
@@ -24,11 +25,11 @@ msgstr ""
msgid "%s Installement"
msgstr "%s Taksit"
-#: core/library/Moka_Gateway.php:1105
+#: core/library/Moka_Gateway.php:1177
msgid "3D authorisation error"
msgstr "3D onay alma hatası"
-#: core/library/Moka_Gateway.php:1104
+#: core/library/Moka_Gateway.php:1176
msgid "3D confirmation received but money could not be withdrawn from the part"
msgstr "3D onayı alındı ancak para parttan çekilemedi"
@@ -66,15 +67,15 @@ msgstr "Aktif"
msgid "Amount"
msgstr "Tutar"
-#: core/library/Moka_Gateway.php:1115 core/library/Optimisthub_Ajax.php:247
+#: core/library/Moka_Gateway.php:1188 core/library/Optimisthub_Ajax.php:247
msgid "An unexpected error occurred"
msgstr "Beklenmeyen bir hata oluştu"
-#: core/library/Moka_Gateway.php:1066
+#: core/library/Moka_Gateway.php:1138
msgid "An unexpected error occurred."
msgstr "Beklenmeyen bir hata oluştu."
-#: core/library/Moka_Gateway.php:1046
+#: core/library/Moka_Gateway.php:1037
msgid "Any of the daily limits defined for the dealer have been exceeded."
msgstr "Kartın günlük limiti aşıldığı için daha fazla işlem yapılamaz."
@@ -86,28 +87,44 @@ msgstr "Api Şifresi"
msgid "Api Username"
msgstr "Api Kullanıcı Adı"
-#: core/library/Moka_Gateway.php:1096
+#: core/library/Moka_Gateway.php:1168
msgid "Approval mechanism not available"
msgstr "Onay mekanizması mevcut değil"
+#: core/library/Moka_Gateway.php:1069
+msgid "Authorization Forbidden For This Dealer."
+msgstr "Üye İş Yerinin Yetkilendirmesi Yoktur."
+
+#: core/library/Moka_Gateway.php:1182
+msgid "Bank Declined Transaction"
+msgstr "Banka İşlemi Reddetti"
+
#: core/library/Moka_Gateway.php:288 core/library/Moka_Gateway.php:489
#: core/library/Moka_Subscriptions.php:625
msgid "Bank Identification Test"
msgstr "Banka Tanımlama Testi"
-#: core/library/Moka_Gateway.php:1106
+#: core/library/Moka_Gateway.php:1178
msgid "Bank or Card does not support 3D secure"
msgstr "Banka veya Kart 3D secure desteklemiyor"
-#: core/library/Moka_Gateway.php:1090
+#: core/library/Moka_Gateway.php:1162
msgid "Bank SSL error"
msgstr "Banka SSL hatası"
+#: core/library/Moka_Gateway.php:1120
+msgid "Basket Amount Is Not Equal Payment Amount."
+msgstr "Sepet Tutarı Ödeme Tutarına Eşit Değil."
+
+#: core/library/Moka_Gateway.php:1123
+msgid "Basket Product Not Found In Your Product List."
+msgstr "Sepetteki Ürün, Ürün Listenizde Bulunamadı."
+
#: core/library/Moka_Subscriptions.php:407
msgid "Begining: "
msgstr "Başlangıç:"
-#: core/library/Moka_Gateway.php:1091
+#: core/library/Moka_Gateway.php:1163
msgid "Call your bank for manual confirmation"
msgstr "Manual onay için bankanızı arayınız"
@@ -133,11 +150,11 @@ msgstr "Güvenlik Kodunuz"
msgid "Card details have been successfully verified."
msgstr "Kart bilgileri başarıyla doğrulandı."
-#: core/library/Moka_Gateway.php:1092
+#: core/library/Moka_Gateway.php:1164
msgid "Card details incorrect"
msgstr "Kart bilgileri hatalı"
-#: core/library/Moka_Gateway.php:1086
+#: core/library/Moka_Gateway.php:1158
msgid "Card expiry date incorrect"
msgstr "Kartın son kullanma tarihi hatalı"
@@ -145,6 +162,14 @@ msgstr "Kartın son kullanma tarihi hatalı"
msgid "Card Number"
msgstr "Kart Numaranız"
+#: core/library/Moka_Gateway.php:1081
+msgid "Card Token Cannot Use With Save Card."
+msgstr "Kart Doğrulaması, Kart Kayıt İşlemi İçin Kullanılamaz."
+
+#: core/library/Moka_Gateway.php:1084
+msgid "Card Token Not Found."
+msgstr "Kart Doğrulaması Bulunamadı."
+
#: core/library/Optimisthub_Ajax.php:342
msgid "Cash In Advence"
msgstr "Tek Çekim"
@@ -170,7 +195,7 @@ msgstr "Oluşturulma"
msgid "Credit Card"
msgstr "Kredi Kartı"
-#: core/library/Moka_Gateway.php:1083
+#: core/library/Moka_Gateway.php:1155
msgid "Credit card number not in valid format"
msgstr "Kredi kartı numarası geçerli formatta değil"
@@ -183,6 +208,14 @@ msgstr "Müşteri Id"
msgid "Day"
msgstr "Gün"
+#: core/library/Moka_Gateway.php:1105
+msgid "Dealer Commission Rate Not Found."
+msgstr "Üye İş Yeri Komisyon Oranı Bulunamadı."
+
+#: core/library/Moka_Gateway.php:1108
+msgid "Dealer Group Commission Rate Not Found."
+msgstr "Üye İş Yeri Komisyon Oranı Bulunamadı."
+
#: core/library/Moka_Init.php:69
msgid "Default"
msgstr "Varsayılan"
@@ -251,27 +284,27 @@ msgstr "Bitti"
msgid "Failed"
msgstr "Başarısız"
-#: core/library/Moka_Gateway.php:1088
+#: core/library/Moka_Gateway.php:1160
msgid "Failed to connect to bank"
msgstr "Bankaya bağlanılamadı"
-#: core/library/Moka_Gateway.php:1081
+#: core/library/Moka_Gateway.php:1153
msgid "Failed to obtain cardholder approval"
msgstr "Kart sahibi onayı alınamadı"
-#: core/library/Moka_Gateway.php:1103
+#: core/library/Moka_Gateway.php:1175
msgid "Fake approval"
msgstr "Sahte onay"
-#: core/library/Moka_Gateway.php:1108
+#: core/library/Moka_Gateway.php:1180
msgid "Fraud possibility"
msgstr "Fraud olasılığı"
-#: core/library/Moka_Gateway.php:1080
+#: core/library/Moka_Gateway.php:1152
msgid "General Error"
msgstr "Genel Hata"
-#: core/library/Moka_Gateway.php:1084
+#: core/library/Moka_Gateway.php:1156
msgid "General rejection"
msgstr "Genel red"
@@ -347,31 +380,51 @@ msgstr "Taksit Tablosu"
msgid "Installment table display on product pages"
msgstr "Ürün sayfalarında taksit tablosu gösterimi"
-#: core/library/Moka_Gateway.php:1094
+#: core/library/Moka_Gateway.php:1166
msgid "Invalid account number"
msgstr "Geçersiz hesap numarası"
-#: core/library/Moka_Gateway.php:1095
+#: core/library/Moka_Gateway.php:1054
+msgid "Invalid Currency Code."
+msgstr "Geçersiz Para Birimi Kodu."
+
+#: core/library/Moka_Gateway.php:1167
msgid "Invalid CVV"
msgstr "Geçersiz CVV"
-#: core/library/Moka_Gateway.php:1102
+#: core/library/Moka_Gateway.php:1174
msgid "Invalid merchant"
msgstr "Geçersiz işyeri"
-#: core/library/Moka_Gateway.php:1028
+#: core/library/Moka_Gateway.php:1117
+msgid "Invalid Quantity Value."
+msgstr "Geçersiz Miktar Değeri."
+
+#: core/library/Moka_Gateway.php:1028 core/library/Moka_Gateway.php:1048
msgid "Invalid request detected. Try Again."
msgstr "Geçersiz istek tespit edildi. Tekrar deneyiniz."
-#: core/library/Moka_Gateway.php:1087
+#: core/library/Moka_Gateway.php:1111
+msgid "Invalid Sub Merchant Name."
+msgstr "Geçersiz Alt Satıcı Adı."
+
+#: core/library/Moka_Gateway.php:1159
msgid "Invalid transaction"
msgstr "Geçersiz işlem"
+#: core/library/Moka_Gateway.php:1114
+msgid "Invalid Unit Price."
+msgstr "Geçersiz Birim Fiyat."
+
+#: core/library/Moka_Gateway.php:1093
+msgid "IP address is not available for this operation."
+msgstr "IP adresi bu işlem için kullanılamaz."
+
#: core/library/Moka_Gateway.php:151
msgid "It allows you to sell products via subscription method on your site."
msgstr "Siteniz üzerinden abonelik yöntemi ile ürün satışı yapmanızı sağlar."
-#: core/library/Moka_Gateway.php:1034
+#: core/library/Moka_Gateway.php:1132
msgid "It is mandatory to send the transaction amount."
msgstr "İşlem tutarı göndermek zorunludur."
@@ -383,7 +436,7 @@ msgstr "Taksit Limitle"
msgid "Limit Installement By Product"
msgstr "Ürüne Göre Taksit Limitle"
-#: core/library/Moka_Gateway.php:1099
+#: core/library/Moka_Gateway.php:1171
msgid "Lost card"
msgstr "Kayıp kart"
@@ -405,6 +458,10 @@ msgstr "Moka Pos Ayarları"
msgid "Month"
msgstr "Ay"
+#: core/library/Moka_Gateway.php:1126
+msgid "Must Be One Of Dealer Product Id Or Product Code."
+msgstr "Bayi Ürün Kimliği veya Ürün Kodundan Biri Olmalıdır."
+
#: core/library/Moka_Gateway.php:384 core/library/Moka_Gateway.php:391
msgid "Name On Card"
msgstr "Kart Üzerindeki İsim"
@@ -413,17 +470,20 @@ msgstr "Kart Üzerindeki İsim"
msgid "Next Payment"
msgstr "Sonraki Ödeme"
-#: core/library/Moka_Gateway.php:1040
+#: core/library/Moka_Gateway.php:1031
msgid "No dealer found."
msgstr "Üye işyeri bulunamadı."
-#: core/library/Moka_Gateway.php:1049
+#: core/library/Moka_Gateway.php:1044
+#| msgid ""
+#| "No further transactions can be made as the daily limit of the card has "
+#| "been exceeded."
msgid ""
-"No further transactions can be made as the daily limit of the card has been "
-"exceeded."
+"No further transactions can be made as the daily limit of the card has been\n"
+" exceeded."
msgstr "Kartın günlük limiti aşıldığı için daha fazla işlem yapılamaz."
-#: core/library/Moka_Gateway.php:1054
+#: core/library/Moka_Gateway.php:1060 core/library/Moka_Gateway.php:1063
msgid "No installments in foreign currency."
msgstr "Döviz ile taksit yapılamaz."
@@ -481,6 +541,10 @@ msgstr "Ödeme Başarısız"
msgid "Payment is processing via Moka Pay."
msgstr "Moka Pay ile ödeme işlemi tamamlanıyor."
+#: core/library/Moka_Gateway.php:1066
+msgid "Payment Must Be Authorization."
+msgstr "Ödeme Yetkilendirmesi Olmalıdır."
+
#: core/library/Moka_Subscriptions.php:216
#: core/library/Moka_Subscriptions.php:232
#: core/library/Moka_Subscriptions_History.php:61
@@ -501,10 +565,22 @@ msgid ""
msgstr ""
"Lütfen Moka Pay ayarlarından, taksit seçeneğini aktif edip ayarları kaydedin."
+#: core/library/Moka_Gateway.php:1072
+msgid "Pool Payment Not Available For This Dealer."
+msgstr "Havuz Ödemesi Üye İş Yeri İçin Mevcut Değildir."
+
+#: core/library/Moka_Gateway.php:1075
+msgid "Pool Payment Required For This Dealer."
+msgstr "Üye İş Yeri İçin Havuz Ödemesi Gerekmektedir."
+
#: core/library/Moka_Gateway.php:224
msgid "Position of Installment Options Tab among other tabs"
msgstr "Taksit Seçenekleri Sekmesinin diğer sekmeler arasındaki pozisyonu"
+#: core/library/Moka_Gateway.php:1051
+msgid "Redirect Url Required."
+msgstr "Yönlendirme URL'si Gereklidir."
+
#: core/library/Moka_Gateway.php:289 core/library/Moka_Gateway.php:490
#: core/library/Moka_Subscriptions.php:626
msgid "Remote Connection Test"
@@ -514,7 +590,7 @@ msgstr "Sunucu Bağlantı Testi"
msgid "Renewal Period"
msgstr "Yenilenme Periyodu"
-#: core/library/Moka_Gateway.php:1100
+#: core/library/Moka_Gateway.php:1172
msgid "Restricted card"
msgstr "Kısıtlı kart"
@@ -522,7 +598,7 @@ msgstr "Kısıtlı kart"
msgid "Save Settings"
msgstr "Ayarları Kaydet"
-#: core/library/Moka_Gateway.php:1037
+#: core/library/Moka_Gateway.php:1135
msgid "Sending the expiry date is mandatory."
msgstr "Son kullanım tarihi gönderme zorunludur."
@@ -538,7 +614,7 @@ msgstr "Taksit Toplam Tutarını Göster"
msgid "Status"
msgstr "Durum"
-#: core/library/Moka_Gateway.php:1098
+#: core/library/Moka_Gateway.php:1170
msgid "Stolen card"
msgstr "Çalıntı kart"
@@ -587,7 +663,7 @@ msgstr "Abonelikler"
msgid "Success"
msgstr "Başarılı"
-#: core/library/Moka_Gateway.php:1097
+#: core/library/Moka_Gateway.php:1169
msgid "System error"
msgstr "Sistem hatası"
@@ -596,6 +672,10 @@ msgid "Test Informations"
msgstr "Üye İşyeri Bilgilerini Test Et"
#: core/library/Moka_Gateway.php:449
+#| msgid ""
+#| "TEST MODE ENABLED. In test mode, you can use the card numbers listed in\n"
+#| " "
+#| "documentation"
msgid ""
"TEST MODE ENABLED. In test mode, you can use the card numbers listed in\n"
" documentation"
@@ -612,11 +692,11 @@ msgstr ""
"sağladığı niteliklere göre sekme pozisyonunu değiştirebilirsiniz. Örnek (40,"
"60,90 gibi.)"
-#: core/library/Moka_Gateway.php:1057 core/library/Moka_Gateway.php:1060
+#: core/library/Moka_Gateway.php:1057 core/library/Moka_Gateway.php:1102
msgid "The number of installments is invalid."
msgstr "Taksit sayısı geçersiz."
-#: core/library/Moka_Gateway.php:1063
+#: core/library/Moka_Gateway.php:1099
msgid "The number of installments is not allowed."
msgstr "Taksit sayısına izin verilmiyor."
@@ -634,7 +714,7 @@ msgid ""
msgstr ""
"Test fonksiyonu, üye işyeri bilgilerini kaydettikten sonra yapılabilir."
-#: core/library/Moka_Gateway.php:1051
+#: core/library/Moka_Gateway.php:1041
msgid "There is an error in the card details, please check."
msgstr "Kart bilgilerinde hata var lütfen kontrol ediniz."
@@ -654,7 +734,7 @@ msgstr ""
"Bu alan birden çok sitede kullanılan Moka POS modülü için raporlama "
"esnasında siparişlerin ayrıştırılmasında kolaylık sağlar. (Opsiyonel)"
-#: core/library/Moka_Gateway.php:1101
+#: core/library/Moka_Gateway.php:1173
msgid "Timeout"
msgstr "Zaman aşımı"
@@ -662,6 +742,10 @@ msgstr "Zaman aşımı"
msgid "Title"
msgstr "Başlık"
+#: core/library/Moka_Gateway.php:1078
+msgid "Tokenization Not Available For This Dealer."
+msgstr "Üye İş Yeri Tokenizasyon İçin Yetkili Değildir."
+
#: core/library/Moka_Init.php:223
msgid "Total Amount"
msgstr "Toplam Tutar"
@@ -674,11 +758,11 @@ msgstr "Toplam."
msgid "Transaction Id"
msgstr "İşlem Id"
-#: core/library/Moka_Gateway.php:1085
+#: core/library/Moka_Gateway.php:1157
msgid "Transaction not open to cardholder"
msgstr "Kart sahibine açık olmayan işlem"
-#: core/library/Moka_Gateway.php:1089
+#: core/library/Moka_Gateway.php:1161
msgid "Undefined error"
msgstr "Tanımsız hata"
@@ -690,14 +774,18 @@ msgstr "Taksit oranlarını Moka ile Güncelle"
msgid "User ID"
msgstr "Kullanıcı"
-#: core/library/Moka_Gateway.php:1107
+#: core/library/Moka_Gateway.php:1179
msgid "User is not authorised to perform this operation"
msgstr "Kullanıcı bu işlemi yapmaya yetkili değil"
-#: core/library/Moka_Gateway.php:1043
+#: core/library/Moka_Gateway.php:1034
msgid "Virtual pos is not defined for the dealer."
msgstr "Üye işyeri için sanal pos tanımı yapılmamış."
+#: core/library/Moka_Gateway.php:1096
+msgid "Virtual Pos Not Available."
+msgstr "Sanal Pos Kullanılamıyor."
+
#: core/library/Moka_Gateway.php:745 core/library/Moka_Gateway.php:756
msgid "Waiting for user payment."
msgstr "Kullanıcının ödeme yapması bekleniyor."
@@ -737,11 +825,11 @@ msgstr ""
"Ödemeleriniz başarılı bir şekilde tamamlandığında siparişin durumunun ne "
"olacağını seçebilirsiniz."
-#: core/library/Moka_Gateway.php:1093
+#: core/library/Moka_Gateway.php:1165
msgid "Your card does not support 3D secure"
msgstr "Katınız 3D secure desteklemiyor"
-#: core/library/Moka_Gateway.php:1082
+#: core/library/Moka_Gateway.php:1154
msgid "Your card has insufficient limit."
msgstr "Kartınızın limiti yetersiz."
@@ -754,11 +842,11 @@ msgstr ""
"Ödeme esnasında eklemiş olduğunuz kart bilgileriniz, Moka güvencesi ile Moka "
"tarafından saklanacaktır. Sonraki abonelik ödemeniz bu kart ile alınacaktır."
-#: core/library/Moka_Gateway.php:1109
+#: core/library/Moka_Gateway.php:1181
msgid "Your card is closed to internet purchases"
msgstr "Kartınız internet alışverişlerine kapalıdır"
-#: core/library/Moka_Gateway.php:1031
+#: core/library/Moka_Gateway.php:1129
msgid "Your card limit is insufficient."
msgstr "Kart limitiniz yetersiz."
diff --git a/languages/moka-woocommerce.pot b/languages/moka-woocommerce.pot
index 6e0ae83..012cd0a 100644
--- a/languages/moka-woocommerce.pot
+++ b/languages/moka-woocommerce.pot
@@ -2,7 +2,7 @@
# This file is distributed under the same license as the Moka Payment Gateway for WooCommerce plugin.
msgid ""
msgstr ""
-"Project-Id-Version: Moka Payment Gateway for WooCommerce 3.7.8\n"
+"Project-Id-Version: Moka Payment Gateway for WooCommerce 3.7.9\n"
"Report-Msgid-Bugs-To: https://github.com/optimisthub/moka-woocommerce\n"
"Last-Translator: Cuneyt Cil \n"
"Language-Team: Optimisthub \n"
@@ -378,179 +378,263 @@ msgid "Installment Fee"
msgstr ""
#: core/library/Moka_Gateway.php:1028
+#: core/library/Moka_Gateway.php:1048
msgid "Invalid request detected. Try Again."
msgstr ""
#: core/library/Moka_Gateway.php:1031
-msgid "Your card limit is insufficient."
+msgid "No dealer found."
msgstr ""
#: core/library/Moka_Gateway.php:1034
-msgid "It is mandatory to send the transaction amount."
+msgid "Virtual pos is not defined for the dealer."
msgstr ""
#: core/library/Moka_Gateway.php:1037
-msgid "Sending the expiry date is mandatory."
-msgstr ""
-
-#: core/library/Moka_Gateway.php:1040
-msgid "No dealer found."
-msgstr ""
-
-#: core/library/Moka_Gateway.php:1043
-msgid "Virtual pos is not defined for the dealer."
+msgid "Any of the daily limits defined for the dealer have been exceeded."
msgstr ""
-#: core/library/Moka_Gateway.php:1046
-msgid "Any of the daily limits defined for the dealer have been exceeded."
+#: core/library/Moka_Gateway.php:1041
+msgid "There is an error in the card details, please check."
msgstr ""
-#: core/library/Moka_Gateway.php:1049
-msgid "No further transactions can be made as the daily limit of the card has been exceeded."
+#: core/library/Moka_Gateway.php:1044
+msgid ""
+"No further transactions can be made as the daily limit of the card has been\r\n"
+" exceeded."
msgstr ""
#: core/library/Moka_Gateway.php:1051
-msgid "There is an error in the card details, please check."
+msgid "Redirect Url Required."
msgstr ""
#: core/library/Moka_Gateway.php:1054
-msgid "No installments in foreign currency."
+msgid "Invalid Currency Code."
msgstr ""
#: core/library/Moka_Gateway.php:1057
-#: core/library/Moka_Gateway.php:1060
+#: core/library/Moka_Gateway.php:1102
msgid "The number of installments is invalid."
msgstr ""
+#: core/library/Moka_Gateway.php:1060
#: core/library/Moka_Gateway.php:1063
-msgid "The number of installments is not allowed."
+msgid "No installments in foreign currency."
msgstr ""
#: core/library/Moka_Gateway.php:1066
+msgid "Payment Must Be Authorization."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1069
+msgid "Authorization Forbidden For This Dealer."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1072
+msgid "Pool Payment Not Available For This Dealer."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1075
+msgid "Pool Payment Required For This Dealer."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1078
+msgid "Tokenization Not Available For This Dealer."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1081
+msgid "Card Token Cannot Use With Save Card."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1084
+msgid "Card Token Not Found."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1093
+msgid "IP address is not available for this operation."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1096
+msgid "Virtual Pos Not Available."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1099
+msgid "The number of installments is not allowed."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1105
+msgid "Dealer Commission Rate Not Found."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1108
+msgid "Dealer Group Commission Rate Not Found."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1111
+msgid "Invalid Sub Merchant Name."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1114
+msgid "Invalid Unit Price."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1117
+msgid "Invalid Quantity Value."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1120
+msgid "Basket Amount Is Not Equal Payment Amount."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1123
+msgid "Basket Product Not Found In Your Product List."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1126
+msgid "Must Be One Of Dealer Product Id Or Product Code."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1129
+msgid "Your card limit is insufficient."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1132
+msgid "It is mandatory to send the transaction amount."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1135
+msgid "Sending the expiry date is mandatory."
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1138
msgid "An unexpected error occurred."
msgstr ""
-#: core/library/Moka_Gateway.php:1080
+#: core/library/Moka_Gateway.php:1152
msgid "General Error"
msgstr ""
-#: core/library/Moka_Gateway.php:1081
+#: core/library/Moka_Gateway.php:1153
msgid "Failed to obtain cardholder approval"
msgstr ""
-#: core/library/Moka_Gateway.php:1082
+#: core/library/Moka_Gateway.php:1154
msgid "Your card has insufficient limit."
msgstr ""
-#: core/library/Moka_Gateway.php:1083
+#: core/library/Moka_Gateway.php:1155
msgid "Credit card number not in valid format"
msgstr ""
-#: core/library/Moka_Gateway.php:1084
+#: core/library/Moka_Gateway.php:1156
msgid "General rejection"
msgstr ""
-#: core/library/Moka_Gateway.php:1085
+#: core/library/Moka_Gateway.php:1157
msgid "Transaction not open to cardholder"
msgstr ""
-#: core/library/Moka_Gateway.php:1086
+#: core/library/Moka_Gateway.php:1158
msgid "Card expiry date incorrect"
msgstr ""
-#: core/library/Moka_Gateway.php:1087
+#: core/library/Moka_Gateway.php:1159
msgid "Invalid transaction"
msgstr ""
-#: core/library/Moka_Gateway.php:1088
+#: core/library/Moka_Gateway.php:1160
msgid "Failed to connect to bank"
msgstr ""
-#: core/library/Moka_Gateway.php:1089
+#: core/library/Moka_Gateway.php:1161
msgid "Undefined error"
msgstr ""
-#: core/library/Moka_Gateway.php:1090
+#: core/library/Moka_Gateway.php:1162
msgid "Bank SSL error"
msgstr ""
-#: core/library/Moka_Gateway.php:1091
+#: core/library/Moka_Gateway.php:1163
msgid "Call your bank for manual confirmation"
msgstr ""
-#: core/library/Moka_Gateway.php:1092
+#: core/library/Moka_Gateway.php:1164
msgid "Card details incorrect"
msgstr ""
-#: core/library/Moka_Gateway.php:1093
+#: core/library/Moka_Gateway.php:1165
msgid "Your card does not support 3D secure"
msgstr ""
-#: core/library/Moka_Gateway.php:1094
+#: core/library/Moka_Gateway.php:1166
msgid "Invalid account number"
msgstr ""
-#: core/library/Moka_Gateway.php:1095
+#: core/library/Moka_Gateway.php:1167
msgid "Invalid CVV"
msgstr ""
-#: core/library/Moka_Gateway.php:1096
+#: core/library/Moka_Gateway.php:1168
msgid "Approval mechanism not available"
msgstr ""
-#: core/library/Moka_Gateway.php:1097
+#: core/library/Moka_Gateway.php:1169
msgid "System error"
msgstr ""
-#: core/library/Moka_Gateway.php:1098
+#: core/library/Moka_Gateway.php:1170
msgid "Stolen card"
msgstr ""
-#: core/library/Moka_Gateway.php:1099
+#: core/library/Moka_Gateway.php:1171
msgid "Lost card"
msgstr ""
-#: core/library/Moka_Gateway.php:1100
+#: core/library/Moka_Gateway.php:1172
msgid "Restricted card"
msgstr ""
-#: core/library/Moka_Gateway.php:1101
+#: core/library/Moka_Gateway.php:1173
msgid "Timeout"
msgstr ""
-#: core/library/Moka_Gateway.php:1102
+#: core/library/Moka_Gateway.php:1174
msgid "Invalid merchant"
msgstr ""
-#: core/library/Moka_Gateway.php:1103
+#: core/library/Moka_Gateway.php:1175
msgid "Fake approval"
msgstr ""
-#: core/library/Moka_Gateway.php:1104
+#: core/library/Moka_Gateway.php:1176
msgid "3D confirmation received but money could not be withdrawn from the part"
msgstr ""
-#: core/library/Moka_Gateway.php:1105
+#: core/library/Moka_Gateway.php:1177
msgid "3D authorisation error"
msgstr ""
-#: core/library/Moka_Gateway.php:1106
+#: core/library/Moka_Gateway.php:1178
msgid "Bank or Card does not support 3D secure"
msgstr ""
-#: core/library/Moka_Gateway.php:1107
+#: core/library/Moka_Gateway.php:1179
msgid "User is not authorised to perform this operation"
msgstr ""
-#: core/library/Moka_Gateway.php:1108
+#: core/library/Moka_Gateway.php:1180
msgid "Fraud possibility"
msgstr ""
-#: core/library/Moka_Gateway.php:1109
+#: core/library/Moka_Gateway.php:1181
msgid "Your card is closed to internet purchases"
msgstr ""
-#: core/library/Moka_Gateway.php:1115
+#: core/library/Moka_Gateway.php:1182
+msgid "Bank Declined Transaction"
+msgstr ""
+
+#: core/library/Moka_Gateway.php:1188
#: core/library/Optimisthub_Ajax.php:247
msgid "An unexpected error occurred"
msgstr ""