From fb1a51d03f850bc04de644b8b68fb21f6c1b15d0 Mon Sep 17 00:00:00 2001 From: Fatih Toprak Date: Sat, 25 Feb 2023 22:20:28 +0300 Subject: [PATCH] 3.7.0 released. --- assets/moka.js | 6 +++--- assets/moka.min.css | 2 +- core/library/Moka_Init.php | 2 +- index.php | 2 +- readme.md | 17 ++++++++++++++++- 5 files changed, 22 insertions(+), 7 deletions(-) diff --git a/assets/moka.js b/assets/moka.js index dbf33a2..2acf57a 100644 --- a/assets/moka.js +++ b/assets/moka.js @@ -1,12 +1,12 @@ jQuery.ajaxSetup({cache: false}); jQuery(document).ready(function () { - console.info('Moka PAY Core Js File loaded, successfully.'); + console.info('Moka PAY Core Js File loaded, successfully. Version 3.7.0); /** * Bin Number Request */ - jQuery(document).on('keyup','input#mokapay-card-number',function( e ) { + jQuery(document).on('blur keyup click change','input#mokapay-card-number',function( e ) { e.preventDefault(); let binValue = jQuery(this).val(); let total = jQuery('#mokapay-current-order-total').val(); @@ -28,7 +28,7 @@ jQuery(document).ready(function () { } }); } - }); + }); /** * Cancel Subscription diff --git a/assets/moka.min.css b/assets/moka.min.css index 5c578f8..a7f803c 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: 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;}.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 {width: 100%;align-items: center;justify-content: space-between;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: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 {width: 100%;align-items: center;justify-content: space-between;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/core/library/Moka_Init.php b/core/library/Moka_Init.php index 1e51f54..a96e751 100644 --- a/core/library/Moka_Init.php +++ b/core/library/Moka_Init.php @@ -3,7 +3,7 @@ exit; } -define('OPTIMISTHUB_MOKA_PAY_VERSION', '3.5.7'); +define('OPTIMISTHUB_MOKA_PAY_VERSION', '3.7.0'); global $mokaVersion; $mokaVersion = OPTIMISTHUB_MOKA_PAY_VERSION; diff --git a/index.php b/index.php index 0cbc68e..23b7774 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: Moka Payment Gateway for WooCommerce * Plugin URI: https://github.com/optimisthub/moka-woocommerce * Description: Moka Payment gateway for woocommerce - * Version: 3.5.7 + * Version: 3.7.0 * Author: Optimist Hub * Author URI: https://optimisthub.com?ref=mokaPayment * Domain Path: /languages/ diff --git a/readme.md b/readme.md index b8da373..8f030a9 100644 --- a/readme.md +++ b/readme.md @@ -25,7 +25,7 @@ Moka Pos, Moka Pay plugin; - Tried with MYSQL 8.0+. - Tested with PHP versions 7.1,7.4,8.x>. - Fully compatible with WooCommerce version 6.0+. -- Fully compatible with WordPress 5.8.2. +- Fully compatible with WordPress 5.8.2+. ## How To Install @@ -38,3 +38,18 @@ For sandbox usage : https://developer.moka.com/home.php?page=test-kartlari ### Changelog Version history : https://github.com/optimisthub/moka-woocommerce/wiki/Changelog + +### Other integrations + +- Moka PHP Client : https://github.com/optimisthub/moka-php +- Moka Open Cart 3.x : https://github.com/optimisthub/moka-opencart-3.x +- Moka Open Cart 2.3x : https://github.com/optimisthub/moka-opencart-2.3 +- Moka Open Cart 2.2x : https://github.com/optimisthub/moka-opencart-2.2 +- Moka Presta Shop : https://github.com/optimisthub/moka-prestashop +- Moka Magento : https://github.com/optimisthub/moka-magento + +#### Powerfull WordPress Plugins by Optimisthub + +- Smart SEO Friendly Sitemap Generator *[Already Published]* : https://github.com/optimisthub/smart-sitemap-generator +- Scheduled Posts Issue Fixer : https://github.com/optimisthub/scheduled-posts-issue-fixer +- Enable Svg Support : https://github.com/optimisthub/wordpress-svg-enabler \ No newline at end of file