Skip to content

Commit

Permalink
fix: littles corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
epoundor committed Mar 22, 2024
1 parent 6592014 commit 73e971f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions includes/class-kkiapay-gateway.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php

namespace KkiapayGateway;

final class Constants
{
const BASE_URL = "https://api.kkiapay.me";
Expand Down
6 changes: 5 additions & 1 deletion includes/class-wc-kkiapay-gateway.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
<?php
// Exit if accessed directly.

use KkiapayGateway\KkiapayGateway;
use KkiapayGateway\STATUS;

if (!defined('ABSPATH')) {
exit;
}

require_once(ABSPATH . 'wp-admin/includes/plugin.php');
require_once __DIR__ . '/class-kkiapay-gateway.php';


class WC_Kkiapay_Gateway extends WC_Payment_Gateway
{
Expand Down
4 changes: 2 additions & 2 deletions kkiapay-woocommerce-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Author: Kkiapay Developer Team ❤️
* Author URI: https://kkiapay.me/
* License: GPLv2
* Version: 2.4.2
* Version: 2.4.3
* Requires at least: 6.0
* Tested up to: 6.4.3
* WC requires at least: 6.0
Expand All @@ -17,7 +17,7 @@
*/

define('WC_KKIAPAY_MAIN_FILE', __FILE__);
define('WC_KKIAPAY_VERSION', '2.4.2');
define('WC_KKIAPAY_VERSION', '2.4.3');

// Make sure WooCommerce is active
if (!in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins'))))
Expand Down
Binary file modified kkiapay-woocommerce.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: credit card, mobile money, africa payment,online payment, swift payment, b
Requires at least: 6.0
Tested up to: 6.4.3
Requires PHP: 7.4
Stable tag: 2.4.2
Stable tag: 2.4.3
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down

0 comments on commit 73e971f

Please sign in to comment.