From 32d2a0136a5b1ef325a4bb67468e1b267000af80 Mon Sep 17 00:00:00 2001 From: Halil Beycan <50718965+BeycanDeveloper@users.noreply.github.com> Date: Sat, 20 Jul 2024 11:15:27 +0800 Subject: [PATCH] updated --- app/Loader.php | 1 + composer.json | 2 +- composer.lock | 14 +++++++------- cryptopay-gateway-for-armember.php | 4 ++-- readme.txt | 2 +- .../beycanpress/cryptopay-integrator/composer.json | 2 +- .../cryptopay-integrator/src/Helpers.php | 4 ++-- vendor/composer/installed.json | 14 +++++++------- vendor/composer/installed.php | 10 +++++----- 9 files changed, 27 insertions(+), 26 deletions(-) diff --git a/app/Loader.php b/app/Loader.php index 70d6c55..19b9458 100644 --- a/app/Loader.php +++ b/app/Loader.php @@ -27,6 +27,7 @@ public function __construct() Hook::addFilter('before_payment_finished_arm', [$this, 'paymentFinished']); Hook::addFilter('payment_redirect_urls_arm', [$this, 'paymentRedirectUrls']); + add_action('init', [Helpers::class, 'listenSPP']); add_filter('arm_get_payment_gateways', [$this, 'addGateway']); add_filter('arm_filter_gateway_names', [$this, 'addGatewayNames']); add_filter('arm_get_payment_gateways_in_filters', [$this, 'addGateway']); diff --git a/composer.json b/composer.json index 1132ea1..c09279d 100644 --- a/composer.json +++ b/composer.json @@ -10,6 +10,6 @@ } }, "require": { - "beycanpress/cryptopay-integrator": "^0.1.11" + "beycanpress/cryptopay-integrator": "^0.1.12" } } diff --git a/composer.lock b/composer.lock index fa80051..2ae26b8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "77536fbde0f65dd1f19f2539c97b5117", + "content-hash": "ba18856670ec8b4ae27fe14cd150978d", "packages": [ { "name": "beycanpress/cryptopay-integrator", - "version": "0.1.11", + "version": "0.1.12", "source": { "type": "git", "url": "https://github.com/BeycanPress/cryptopay-integrator.git", - "reference": "cd50c21a0daf9bbcc5b86a292d620b74b47aa73e" + "reference": "d9ebe6212b04da75da56e2fc997eee079d2acca9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/BeycanPress/cryptopay-integrator/zipball/cd50c21a0daf9bbcc5b86a292d620b74b47aa73e", - "reference": "cd50c21a0daf9bbcc5b86a292d620b74b47aa73e", + "url": "https://api.github.com/repos/BeycanPress/cryptopay-integrator/zipball/d9ebe6212b04da75da56e2fc997eee079d2acca9", + "reference": "d9ebe6212b04da75da56e2fc997eee079d2acca9", "shasum": "" }, "require": { @@ -37,9 +37,9 @@ "homepage": "https://github.com/BeycanPress/cryptopay-integrator", "support": { "issues": "https://github.com/BeycanPress/cryptopay-integrator/issues", - "source": "https://github.com/BeycanPress/cryptopay-integrator/tree/0.1.11" + "source": "https://github.com/BeycanPress/cryptopay-integrator/tree/0.1.12" }, - "time": "2024-04-04T08:02:22+00:00" + "time": "2024-07-19T07:52:23+00:00" } ], "packages-dev": [], diff --git a/cryptopay-gateway-for-armember.php b/cryptopay-gateway-for-armember.php index 53e9646..dfebd37 100644 --- a/cryptopay-gateway-for-armember.php +++ b/cryptopay-gateway-for-armember.php @@ -19,9 +19,9 @@ * License: GPLv3 * License URI: https://www.gnu.org/licenses/gpl-3.0.html * Text Domain: arm-cryptopay - * Tags: Cryptopay, Cryptocurrency, WooCommerce, WordPress, MetaMask, Trust, Binance, Wallet, Ethereum, Bitcoin, Binance smart chain, Payment, Plugin, Gateway, Moralis, Converter, API, coin market cap, CMC + * Tags: Bitcoin, Ethereum, Crypto, Payment, ARMember * Requires at least: 5.0 - * Tested up to: 6.4.3 + * Tested up to: 6.6 * Requires PHP: 8.1 */ diff --git a/readme.txt b/readme.txt index a235896..b67e6a3 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: BeycanPress Tags: Bitcoin, Ethereum, Crypto, Payment, ARMember Requires at least: 5.0 -Tested up to: 6.5.0 +Tested up to: 6.6 Requires PHP: 8.1 Stable Tag: 1.0.0 Version: 1.0.0 diff --git a/vendor/beycanpress/cryptopay-integrator/composer.json b/vendor/beycanpress/cryptopay-integrator/composer.json index 4ce87a9..161eb7a 100644 --- a/vendor/beycanpress/cryptopay-integrator/composer.json +++ b/vendor/beycanpress/cryptopay-integrator/composer.json @@ -1,6 +1,6 @@ { "name": "beycanpress/cryptopay-integrator", - "version": "0.1.11", + "version": "0.1.12", "description": "CryptoPay and CryptoPay Lite integration wrapper", "type": "library", "license": "MIT", diff --git a/vendor/beycanpress/cryptopay-integrator/src/Helpers.php b/vendor/beycanpress/cryptopay-integrator/src/Helpers.php index 3d6c7e3..16c2e30 100644 --- a/vendor/beycanpress/cryptopay-integrator/src/Helpers.php +++ b/vendor/beycanpress/cryptopay-integrator/src/Helpers.php @@ -37,7 +37,7 @@ public static function bothExists(): bool */ public static function liteExists(): bool { - return class_exists(LiteLoader::class); + return defined('CRYPTOPAY_LITE_LOADED'); } /** @@ -45,7 +45,7 @@ public static function liteExists(): bool */ public static function exists(): bool { - return class_exists(Loader::class); + return defined('CRYPTOPAY_LOADED'); } /** diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index ad2b774..a4714c5 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -2,23 +2,23 @@ "packages": [ { "name": "beycanpress/cryptopay-integrator", - "version": "0.1.11", - "version_normalized": "0.1.11.0", + "version": "0.1.12", + "version_normalized": "0.1.12.0", "source": { "type": "git", "url": "https://github.com/BeycanPress/cryptopay-integrator.git", - "reference": "cd50c21a0daf9bbcc5b86a292d620b74b47aa73e" + "reference": "d9ebe6212b04da75da56e2fc997eee079d2acca9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/BeycanPress/cryptopay-integrator/zipball/cd50c21a0daf9bbcc5b86a292d620b74b47aa73e", - "reference": "cd50c21a0daf9bbcc5b86a292d620b74b47aa73e", + "url": "https://api.github.com/repos/BeycanPress/cryptopay-integrator/zipball/d9ebe6212b04da75da56e2fc997eee079d2acca9", + "reference": "d9ebe6212b04da75da56e2fc997eee079d2acca9", "shasum": "" }, "require": { "php": ">=8.1" }, - "time": "2024-04-04T08:02:22+00:00", + "time": "2024-07-19T07:52:23+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -34,7 +34,7 @@ "homepage": "https://github.com/BeycanPress/cryptopay-integrator", "support": { "issues": "https://github.com/BeycanPress/cryptopay-integrator/issues", - "source": "https://github.com/BeycanPress/cryptopay-integrator/tree/0.1.11" + "source": "https://github.com/BeycanPress/cryptopay-integrator/tree/0.1.12" }, "install-path": "../beycanpress/cryptopay-integrator" } diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 9bfb417..7e63de4 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -3,7 +3,7 @@ 'name' => '__root__', 'pretty_version' => 'dev-master', 'version' => 'dev-master', - 'reference' => '2d142bd82ba919b2b1de7b74350eaa7039582ca2', + 'reference' => '2d4133e28aa99610dff44fbed857592ef3c50b15', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -13,16 +13,16 @@ '__root__' => array( 'pretty_version' => 'dev-master', 'version' => 'dev-master', - 'reference' => '2d142bd82ba919b2b1de7b74350eaa7039582ca2', + 'reference' => '2d4133e28aa99610dff44fbed857592ef3c50b15', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => false, ), 'beycanpress/cryptopay-integrator' => array( - 'pretty_version' => '0.1.11', - 'version' => '0.1.11.0', - 'reference' => 'cd50c21a0daf9bbcc5b86a292d620b74b47aa73e', + 'pretty_version' => '0.1.12', + 'version' => '0.1.12.0', + 'reference' => 'd9ebe6212b04da75da56e2fc997eee079d2acca9', 'type' => 'library', 'install_path' => __DIR__ . '/../beycanpress/cryptopay-integrator', 'aliases' => array(),