Changeset 3313862
- Timestamp:
- 06/18/2025 12:56:31 PM (10 months ago)
- Location:
- muzapay
- Files:
-
- 46 edited
- 1 copied
-
tags/1.1.1 (copied) (copied from muzapay/trunk)
-
tags/1.1.1/muzapay.php (modified) (1 diff)
-
tags/1.1.1/readme.txt (modified) (2 diffs)
-
tags/1.1.1/src/Features/Gateway.php (modified) (1 diff)
-
tags/1.1.1/vendor/composer/installed.php (modified) (2 diffs)
-
tags/1.1.1/vendor/prefixed/composer/installed.json (modified) (15 diffs)
-
tags/1.1.1/vendor/prefixed/composer/installed.php (modified) (1 diff)
-
tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/CHANGELOG.md (modified) (1 diff)
-
tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/Cookie/SetCookie.php (modified) (1 diff)
-
tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/Handler/Proxy.php (modified) (2 diffs)
-
tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/Handler/StreamHandler.php (modified) (1 diff)
-
tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/Pool.php (modified) (1 diff)
-
tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/Utils.php (modified) (1 diff)
-
tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/functions.php (modified) (1 diff)
-
tags/1.1.1/vendor/prefixed/guzzlehttp/promises/CHANGELOG.md (modified) (1 diff)
-
tags/1.1.1/vendor/prefixed/guzzlehttp/psr7/CHANGELOG.md (modified) (1 diff)
-
tags/1.1.1/vendor/prefixed/guzzlehttp/psr7/src/UploadedFile.php (modified) (3 diffs)
-
tags/1.1.1/vendor/prefixed/guzzlehttp/psr7/src/Uri.php (modified) (1 diff)
-
tags/1.1.1/vendor/prefixed/scoper-autoload.php (modified) (1 diff)
-
tags/1.1.1/vendor/prefixed/wpify/log/src/Log.php (modified) (3 diffs)
-
tags/1.1.1/vendor/prefixed/wpify/log/src/RotatingFileLog.php (modified) (2 diffs)
-
tags/1.1.1/vendor/prefixed/wpify/log/src/Tools.php (modified) (5 diffs)
-
tags/1.1.1/vendor/prefixed/wpify/model/src/OrderItem.php (modified) (2 diffs)
-
tags/1.1.1/vendor/prefixed/wpify/model/src/PostRepository.php (modified) (2 diffs)
-
trunk/muzapay.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/Features/Gateway.php (modified) (1 diff)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/vendor/prefixed/composer/installed.json (modified) (15 diffs)
-
trunk/vendor/prefixed/composer/installed.php (modified) (1 diff)
-
trunk/vendor/prefixed/guzzlehttp/guzzle/CHANGELOG.md (modified) (1 diff)
-
trunk/vendor/prefixed/guzzlehttp/guzzle/src/Cookie/SetCookie.php (modified) (1 diff)
-
trunk/vendor/prefixed/guzzlehttp/guzzle/src/Handler/Proxy.php (modified) (2 diffs)
-
trunk/vendor/prefixed/guzzlehttp/guzzle/src/Handler/StreamHandler.php (modified) (1 diff)
-
trunk/vendor/prefixed/guzzlehttp/guzzle/src/Pool.php (modified) (1 diff)
-
trunk/vendor/prefixed/guzzlehttp/guzzle/src/Utils.php (modified) (1 diff)
-
trunk/vendor/prefixed/guzzlehttp/guzzle/src/functions.php (modified) (1 diff)
-
trunk/vendor/prefixed/guzzlehttp/promises/CHANGELOG.md (modified) (1 diff)
-
trunk/vendor/prefixed/guzzlehttp/psr7/CHANGELOG.md (modified) (1 diff)
-
trunk/vendor/prefixed/guzzlehttp/psr7/src/UploadedFile.php (modified) (3 diffs)
-
trunk/vendor/prefixed/guzzlehttp/psr7/src/Uri.php (modified) (1 diff)
-
trunk/vendor/prefixed/scoper-autoload.php (modified) (1 diff)
-
trunk/vendor/prefixed/wpify/log/src/Log.php (modified) (3 diffs)
-
trunk/vendor/prefixed/wpify/log/src/RotatingFileLog.php (modified) (2 diffs)
-
trunk/vendor/prefixed/wpify/log/src/Tools.php (modified) (5 diffs)
-
trunk/vendor/prefixed/wpify/model/src/OrderItem.php (modified) (2 diffs)
-
trunk/vendor/prefixed/wpify/model/src/PostRepository.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
muzapay/tags/1.1.1/muzapay.php
r3253891 r3313862 3 3 * Plugin Name: MúzaPay 4 4 * Description: Official MúzaPay plugin for WooCommerce. 5 * Version: 1.1. 05 * Version: 1.1.1 6 6 * Requires PHP: 8.0.0 7 7 * Requires at least: 6.0.9 -
muzapay/tags/1.1.1/readme.txt
r3253891 r3313862 3 3 Tags: Benefit Plus, MuzaPay, payment, gateway, woocommerce 4 4 Requires at least: 6.0 5 Tested up to: 6. 75 Tested up to: 6.8 6 6 Requires PHP: 8.0 7 Stable tag: 1.1. 07 Stable tag: 1.1.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 28 28 29 29 == Changelog == 30 = 1.1.1= 31 * Add filter muzapay_product_category 32 30 33 = 1.1.0= 31 34 * Add certificate generation to admin settings -
muzapay/tags/1.1.1/src/Features/Gateway.php
r3253891 r3313862 272 272 } 273 273 $p = $repo->get( $item['product_id'] ); 274 if ( ! $p->muzapay_category ) { 274 $category = $p->muzapay_category; 275 $category = apply_filters('muzapay_product_category', $category, $item['product_id'], $item); 276 if ( ! $category ) { 275 277 return false; 276 278 } -
muzapay/tags/1.1.1/vendor/composer/installed.php
r3253891 r3313862 2 2 'root' => array( 3 3 'name' => 'wpify/muzapay', 4 'pretty_version' => '1.1. 0',5 'version' => '1.1. 0.0',6 'reference' => ' 95c0001003266ed1faeefc134e24f827d31d4b44',4 'pretty_version' => '1.1.1', 5 'version' => '1.1.1.0', 6 'reference' => '57a1a90155da6b1c9e3df5ceb279b1ae0dcaa5d9', 7 7 'type' => 'project', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'wpify/muzapay' => array( 14 'pretty_version' => '1.1. 0',15 'version' => '1.1. 0.0',16 'reference' => ' 95c0001003266ed1faeefc134e24f827d31d4b44',14 'pretty_version' => '1.1.1', 15 'version' => '1.1.1.0', 16 'reference' => '57a1a90155da6b1c9e3df5ceb279b1ae0dcaa5d9', 17 17 'type' => 'project', 18 18 'install_path' => __DIR__ . '/../../', -
muzapay/tags/1.1.1/vendor/prefixed/composer/installed.json
r3253891 r3313862 3 3 { 4 4 "name": "guzzlehttp\/guzzle", 5 "version": "7.9. 2",6 "version_normalized": "7.9. 2.0",5 "version": "7.9.3", 6 "version_normalized": "7.9.3.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https:\/\/github.com\/guzzle\/guzzle.git", 10 "reference": " d281ed313b989f213357e3be1a179f02196ac99b"11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https:\/\/api.github.com\/repos\/guzzle\/guzzle\/zipball\/ d281ed313b989f213357e3be1a179f02196ac99b",15 "reference": " d281ed313b989f213357e3be1a179f02196ac99b",10 "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77" 11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https:\/\/api.github.com\/repos\/guzzle\/guzzle\/zipball\/7b2f29fe81dc4da0ca0ea7d42107a0845946ea77", 15 "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77", 16 16 "shasum": "" 17 17 }, … … 40 40 "psr\/log": "Required for using the Log middleware" 41 41 }, 42 "time": "202 4-07-24T11:22:20+00:00",42 "time": "2025-03-27T13:37:11+00:00", 43 43 "type": "library", 44 44 "extra": { … … 112 112 "support": { 113 113 "issues": "https:\/\/github.com\/guzzle\/guzzle\/issues", 114 "source": "https:\/\/github.com\/guzzle\/guzzle\/tree\/7.9. 2"114 "source": "https:\/\/github.com\/guzzle\/guzzle\/tree\/7.9.3" 115 115 }, 116 116 "funding": [ … … 132 132 { 133 133 "name": "guzzlehttp\/promises", 134 "version": "2. 0.4",135 "version_normalized": "2. 0.4.0",134 "version": "2.2.0", 135 "version_normalized": "2.2.0.0", 136 136 "source": { 137 137 "type": "git", 138 138 "url": "https:\/\/github.com\/guzzle\/promises.git", 139 "reference": " f9c436286ab2892c7db7be8c8da4ef61ccf7b455"140 }, 141 "dist": { 142 "type": "zip", 143 "url": "https:\/\/api.github.com\/repos\/guzzle\/promises\/zipball\/ f9c436286ab2892c7db7be8c8da4ef61ccf7b455",144 "reference": " f9c436286ab2892c7db7be8c8da4ef61ccf7b455",139 "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c" 140 }, 141 "dist": { 142 "type": "zip", 143 "url": "https:\/\/api.github.com\/repos\/guzzle\/promises\/zipball\/7c69f28996b0a6920945dd20b3857e499d9ca96c", 144 "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c", 145 145 "shasum": "" 146 146 }, … … 152 152 "phpunit\/phpunit": "^8.5.39 || ^9.6.20" 153 153 }, 154 "time": "202 4-10-17T10:06:22+00:00",154 "time": "2025-03-27T13:27:01+00:00", 155 155 "type": "library", 156 156 "extra": { … … 198 198 "support": { 199 199 "issues": "https:\/\/github.com\/guzzle\/promises\/issues", 200 "source": "https:\/\/github.com\/guzzle\/promises\/tree\/2. 0.4"200 "source": "https:\/\/github.com\/guzzle\/promises\/tree\/2.2.0" 201 201 }, 202 202 "funding": [ … … 218 218 { 219 219 "name": "guzzlehttp\/psr7", 220 "version": "2.7. 0",221 "version_normalized": "2.7. 0.0",220 "version": "2.7.1", 221 "version_normalized": "2.7.1.0", 222 222 "source": { 223 223 "type": "git", 224 224 "url": "https:\/\/github.com\/guzzle\/psr7.git", 225 "reference": " a70f5c95fb43bc83f07c9c948baa0dc1829bf201"226 }, 227 "dist": { 228 "type": "zip", 229 "url": "https:\/\/api.github.com\/repos\/guzzle\/psr7\/zipball\/ a70f5c95fb43bc83f07c9c948baa0dc1829bf201",230 "reference": " a70f5c95fb43bc83f07c9c948baa0dc1829bf201",225 "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16" 226 }, 227 "dist": { 228 "type": "zip", 229 "url": "https:\/\/api.github.com\/repos\/guzzle\/psr7\/zipball\/c2270caaabe631b3b44c85f99e5a04bbb8060d16", 230 "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16", 231 231 "shasum": "" 232 232 }, … … 249 249 "laminas\/laminas-httphandlerrunner": "Emit PSR-7 responses" 250 250 }, 251 "time": "202 4-07-18T11:15:46+00:00",251 "time": "2025-03-27T12:30:47+00:00", 252 252 "type": "library", 253 253 "extra": { … … 317 317 "support": { 318 318 "issues": "https:\/\/github.com\/guzzle\/psr7\/issues", 319 "source": "https:\/\/github.com\/guzzle\/psr7\/tree\/2.7. 0"319 "source": "https:\/\/github.com\/guzzle\/psr7\/tree\/2.7.1" 320 320 }, 321 321 "funding": [ … … 1168 1168 { 1169 1169 "name": "wpify\/log", 1170 "version": "1. 0.10",1171 "version_normalized": "1. 0.10.0",1170 "version": "1.1.1", 1171 "version_normalized": "1.1.1.0", 1172 1172 "source": { 1173 1173 "type": "git", 1174 1174 "url": "https:\/\/github.com\/wpify\/log.git", 1175 "reference": " 43bb35f12babe33b0343bb3d3f85239248c48701"1176 }, 1177 "dist": { 1178 "type": "zip", 1179 "url": "https:\/\/api.github.com\/repos\/wpify\/log\/zipball\/ 43bb35f12babe33b0343bb3d3f85239248c48701",1180 "reference": " 43bb35f12babe33b0343bb3d3f85239248c48701",1175 "reference": "5b856a623a574d3ba4f2138d5f4d94c0625329ff" 1176 }, 1177 "dist": { 1178 "type": "zip", 1179 "url": "https:\/\/api.github.com\/repos\/wpify\/log\/zipball\/5b856a623a574d3ba4f2138d5f4d94c0625329ff", 1180 "reference": "5b856a623a574d3ba4f2138d5f4d94c0625329ff", 1181 1181 "shasum": "" 1182 1182 }, … … 1185 1185 "psr\/log": "1.1.4" 1186 1186 }, 1187 "time": "202 2-11-15T20:50:07+00:00",1187 "time": "2025-06-04T15:03:26+00:00", 1188 1188 "type": "library", 1189 1189 "installation-source": "dist", … … 1206 1206 "support": { 1207 1207 "issues": "https:\/\/github.com\/wpify\/log\/issues", 1208 "source": "https:\/\/github.com\/wpify\/log\/tree\/1. 0.10"1208 "source": "https:\/\/github.com\/wpify\/log\/tree\/1.1.1" 1209 1209 }, 1210 1210 "install-path": "..\/wpify\/log" … … 1212 1212 { 1213 1213 "name": "wpify\/model", 1214 "version": "4.1.2 1",1215 "version_normalized": "4.1.2 1.0",1214 "version": "4.1.24", 1215 "version_normalized": "4.1.24.0", 1216 1216 "source": { 1217 1217 "type": "git", 1218 1218 "url": "https:\/\/github.com\/wpify\/model.git", 1219 "reference": " 64ece3dfe1431f8d353e38c2d40465f64040e0f9"1220 }, 1221 "dist": { 1222 "type": "zip", 1223 "url": "https:\/\/api.github.com\/repos\/wpify\/model\/zipball\/ 64ece3dfe1431f8d353e38c2d40465f64040e0f9",1224 "reference": " 64ece3dfe1431f8d353e38c2d40465f64040e0f9",1219 "reference": "ebcac0038014dd0a8d7af5b31e3ee1efa542e9ec" 1220 }, 1221 "dist": { 1222 "type": "zip", 1223 "url": "https:\/\/api.github.com\/repos\/wpify\/model\/zipball\/ebcac0038014dd0a8d7af5b31e3ee1efa542e9ec", 1224 "reference": "ebcac0038014dd0a8d7af5b31e3ee1efa542e9ec", 1225 1225 "shasum": "" 1226 1226 }, … … 1228 1228 "php": ">=8.0.0" 1229 1229 }, 1230 "time": "2025-0 1-24T09:07:27+00:00",1230 "time": "2025-05-21T09:30:57+00:00", 1231 1231 "type": "library", 1232 1232 "installation-source": "dist", … … 1249 1249 "support": { 1250 1250 "issues": "https:\/\/github.com\/wpify\/model\/issues", 1251 "source": "https:\/\/github.com\/wpify\/model\/tree\/4.1.2 1"1251 "source": "https:\/\/github.com\/wpify\/model\/tree\/4.1.24" 1252 1252 }, 1253 1253 "install-path": "..\/wpify\/model" -
muzapay/tags/1.1.1/vendor/prefixed/composer/installed.php
r3253891 r3313862 3 3 namespace MuzaPayDeps; 4 4 5 return array('root' => array('name' => 'wpify/muzapay', 'pretty_version' => '1.1. 0', 'version' => '1.1.0.0', 'reference' => '95c0001003266ed1faeefc134e24f827d31d4b44', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('guzzlehttp/guzzle' => array('pretty_version' => '7.9.2', 'version' => '7.9.2.0', 'reference' => 'd281ed313b989f213357e3be1a179f02196ac99b', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.0.4', 'version' => '2.0.4.0', 'reference' => 'f9c436286ab2892c7db7be8c8da4ef61ccf7b455', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.7.0', 'version' => '2.7.0.0', 'reference' => 'a70f5c95fb43bc83f07c9c948baa0dc1829bf201', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'monolog/monolog' => array('pretty_version' => '2.10.0', 'version' => '2.10.0.0', 'reference' => '5cf826f2991858b54d5c3809bee745560a1042a7', 'type' => 'library', 'install_path' => __DIR__ . '/../monolog/monolog', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.6', 'version' => '2.3.6.0', 'reference' => '59f15608528d8a8838d69b422a919fd6b16aa576', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '7.0.0', 'version' => '7.0.0.0', 'reference' => 'f0ca9a0e0fb800974fcaf7b2f896ca1e840fd15b', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '2.0.2', 'version' => '2.0.2.0', 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'psr/http-client' => array('pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0.0 || 2.0.0 || 3.0.0')), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v2.5.4', 'version' => '2.5.4.0', 'reference' => '605389f2a7e5625f273b53960dc46aeaf9c62918', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/asset' => array('pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'reference' => 'faf957af650b441b49f03cb7ffa42abfe157b43b', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/benefit-plus-gateway-sdk' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'aacc448402d5e072e1616836b34f7a4d8098c272', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/benefit-plus-gateway-sdk', 'aliases' => array(0 => '9999999-dev'), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '3.14.2', 'version' => '3.14.2.0', 'reference' => 'a04885848f045700cb1430becd41a82c9a711db2', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.0.10', 'version' => '1.0.10.0', 'reference' => '43bb35f12babe33b0343bb3d3f85239248c48701', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.21', 'version' => '4.1.21.0', 'reference' => '64ece3dfe1431f8d353e38c2d40465f64040e0f9', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/muzapay' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '95c0001003266ed1faeefc134e24f827d31d4b44', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false)));5 return array('root' => array('name' => 'wpify/muzapay', 'pretty_version' => '1.1.1', 'version' => '1.1.1.0', 'reference' => '57a1a90155da6b1c9e3df5ceb279b1ae0dcaa5d9', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('guzzlehttp/guzzle' => array('pretty_version' => '7.9.3', 'version' => '7.9.3.0', 'reference' => '7b2f29fe81dc4da0ca0ea7d42107a0845946ea77', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.2.0', 'version' => '2.2.0.0', 'reference' => '7c69f28996b0a6920945dd20b3857e499d9ca96c', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.7.1', 'version' => '2.7.1.0', 'reference' => 'c2270caaabe631b3b44c85f99e5a04bbb8060d16', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'monolog/monolog' => array('pretty_version' => '2.10.0', 'version' => '2.10.0.0', 'reference' => '5cf826f2991858b54d5c3809bee745560a1042a7', 'type' => 'library', 'install_path' => __DIR__ . '/../monolog/monolog', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.6', 'version' => '2.3.6.0', 'reference' => '59f15608528d8a8838d69b422a919fd6b16aa576', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '7.0.0', 'version' => '7.0.0.0', 'reference' => 'f0ca9a0e0fb800974fcaf7b2f896ca1e840fd15b', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '2.0.2', 'version' => '2.0.2.0', 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'psr/http-client' => array('pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0.0 || 2.0.0 || 3.0.0')), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v2.5.4', 'version' => '2.5.4.0', 'reference' => '605389f2a7e5625f273b53960dc46aeaf9c62918', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/asset' => array('pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'reference' => 'faf957af650b441b49f03cb7ffa42abfe157b43b', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/benefit-plus-gateway-sdk' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'aacc448402d5e072e1616836b34f7a4d8098c272', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/benefit-plus-gateway-sdk', 'aliases' => array(0 => '9999999-dev'), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '3.14.2', 'version' => '3.14.2.0', 'reference' => 'a04885848f045700cb1430becd41a82c9a711db2', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.1.1', 'version' => '1.1.1.0', 'reference' => '5b856a623a574d3ba4f2138d5f4d94c0625329ff', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.24', 'version' => '4.1.24.0', 'reference' => 'ebcac0038014dd0a8d7af5b31e3ee1efa542e9ec', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/muzapay' => array('pretty_version' => '1.1.1', 'version' => '1.1.1.0', 'reference' => '57a1a90155da6b1c9e3df5ceb279b1ae0dcaa5d9', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false))); -
muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/CHANGELOG.md
r3179972 r3313862 2 2 3 3 Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version. 4 5 6 ## 7.9.3 - 2025-03-27 7 8 ### Changed 9 10 - Remove explicit content-length header for GET requests 11 - Improve compatibility with bad servers for boolean cookie values 4 12 5 13 -
muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/Cookie/SetCookie.php
r3207002 r3313862 47 47 $data[$search] = (int) $value; 48 48 } 49 } elseif ($search === 'Secure' || $search === 'Discard' || $search === 'HttpOnly') { 50 if ($value) { 51 $data[$search] = \true; 52 } 49 53 } else { 50 54 $data[$search] = $value; -
muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/Handler/Proxy.php
r3207002 r3313862 17 17 * requests to another handler. 18 18 * 19 * @param callable( \Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default Handler used for normal responses20 * @param callable( \Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $sync Handler used for synchronous responses.19 * @param callable(RequestInterface, array): PromiseInterface $default Handler used for normal responses 20 * @param callable(RequestInterface, array): PromiseInterface $sync Handler used for synchronous responses. 21 21 * 22 * @return callable( \Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.22 * @return callable(RequestInterface, array): PromiseInterface Returns the composed handler. 23 23 */ 24 24 public static function wrapSync(callable $default, callable $sync): callable … … 36 36 * through the StreamHandler. 37 37 * 38 * @param callable( \Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default Handler used for non-streaming responses39 * @param callable( \Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $streaming Handler used for streaming responses38 * @param callable(RequestInterface, array): PromiseInterface $default Handler used for non-streaming responses 39 * @param callable(RequestInterface, array): PromiseInterface $streaming Handler used for streaming responses 40 40 * 41 * @return callable( \Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.41 * @return callable(RequestInterface, array): PromiseInterface Returns the composed handler. 42 42 */ 43 43 public static function wrapStreaming(callable $default, callable $streaming): callable -
muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/Handler/StreamHandler.php
r3207002 r3313862 47 47 $request = $request->withoutHeader('Expect'); 48 48 // Append a content-length header if body size is zero to match 49 // cURL's behavior.50 if ( 0 === $request->getBody()->getSize()) {49 // the behavior of `CurlHandler` 50 if ((0 === \strcasecmp('PUT', $request->getMethod()) || 0 === \strcasecmp('POST', $request->getMethod())) && 0 === $request->getBody()->getSize()) { 51 51 $request = $request->withHeader('Content-Length', '0'); 52 52 } -
muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/Pool.php
r3207002 r3313862 80 80 * @param array|\Iterator $requests Requests to send concurrently. 81 81 * @param array $options Passes through the options available in 82 * {@see \GuzzleHttp\Pool::__construct}82 * {@see Pool::__construct} 83 83 * 84 84 * @return array Returns an array containing the response or an exception -
muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/Utils.php
r3207002 r3313862 72 72 * The returned handler is not wrapped by any default middlewares. 73 73 * 74 * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the best handler for the given system.74 * @return callable(\Psr\Http\Message\RequestInterface, array): Promise\PromiseInterface Returns the best handler for the given system. 75 75 * 76 76 * @throws \RuntimeException if no viable Handler is available. -
muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/functions.php
r3207002 r3313862 48 48 * The returned handler is not wrapped by any default middlewares. 49 49 * 50 * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the best handler for the given system.50 * @return callable(\Psr\Http\Message\RequestInterface, array): Promise\PromiseInterface Returns the best handler for the given system. 51 51 * 52 52 * @throws \RuntimeException if no viable Handler is available. -
muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/promises/CHANGELOG.md
r3207002 r3313862 1 1 # CHANGELOG 2 3 4 ## 2.2.0 - 2025-03-27 5 6 ### Fixed 7 8 - Revert "Allow an empty EachPromise to be resolved by running the queue" 9 10 11 ## 2.1.0 - 2025-03-27 12 13 ### Added 14 15 - Allow an empty EachPromise to be resolved by running the queue 2 16 3 17 -
muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/psr7/CHANGELOG.md
r3179972 r3313862 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 8 ## 2.7.1 - 2025-03-27 9 10 ### Fixed 11 12 - Fixed uppercase IPv6 addresses in URI 13 14 ### Changed 15 16 - Improve uploaded file error message 7 17 8 18 ## 2.7.0 - 2024-07-18 -
muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/psr7/src/UploadedFile.php
r3207002 r3313862 10 10 class UploadedFile implements UploadedFileInterface 11 11 { 12 private const ERROR S = [\UPLOAD_ERR_OK, \UPLOAD_ERR_INI_SIZE, \UPLOAD_ERR_FORM_SIZE, \UPLOAD_ERR_PARTIAL, \UPLOAD_ERR_NO_FILE, \UPLOAD_ERR_NO_TMP_DIR, \UPLOAD_ERR_CANT_WRITE, \UPLOAD_ERR_EXTENSION];12 private const ERROR_MAP = [\UPLOAD_ERR_OK => 'UPLOAD_ERR_OK', \UPLOAD_ERR_INI_SIZE => 'UPLOAD_ERR_INI_SIZE', \UPLOAD_ERR_FORM_SIZE => 'UPLOAD_ERR_FORM_SIZE', \UPLOAD_ERR_PARTIAL => 'UPLOAD_ERR_PARTIAL', \UPLOAD_ERR_NO_FILE => 'UPLOAD_ERR_NO_FILE', \UPLOAD_ERR_NO_TMP_DIR => 'UPLOAD_ERR_NO_TMP_DIR', \UPLOAD_ERR_CANT_WRITE => 'UPLOAD_ERR_CANT_WRITE', \UPLOAD_ERR_EXTENSION => 'UPLOAD_ERR_EXTENSION']; 13 13 /** 14 14 * @var string|null … … 76 76 private function setError(int $error): void 77 77 { 78 if ( \false === in_array($error, UploadedFile::ERRORS, \true)) {78 if (!isset(UploadedFile::ERROR_MAP[$error])) { 79 79 throw new InvalidArgumentException('Invalid error status for UploadedFile'); 80 80 } … … 102 102 { 103 103 if (\false === $this->isOk()) { 104 throw new RuntimeException( 'Cannot retrieve stream due to upload error');104 throw new RuntimeException(\sprintf('Cannot retrieve stream due to upload error (%s)', self::ERROR_MAP[$this->error])); 105 105 } 106 106 if ($this->isMoved()) { -
muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/psr7/src/Uri.php
r3207002 r3313862 81 81 // If IPv6 82 82 $prefix = ''; 83 if (preg_match('%^(.*://\[[0-9:a-f ]+\])(.*?)$%', $url, $matches)) {83 if (preg_match('%^(.*://\[[0-9:a-fA-F]+\])(.*?)$%', $url, $matches)) { 84 84 /** @var array{0:string, 1:string, 2:string} $matches */ 85 85 $prefix = $matches[1]; -
muzapay/tags/1.1.1/vendor/prefixed/scoper-autoload.php
r3207002 r3313862 23 23 // Function aliases. For more information see: 24 24 // https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#function-aliases 25 // if (!function_exists('getallheaders')) { function getallheaders() { return \MuzaPayDeps\getallheaders(...func_get_args()); } } 25 // if (!function_exists('getallheaders')) { function getallheaders() { return \MuzaPayDeps\getallheaders(...func_get_args()); } } // commented by WPify Scoper 26 26 27 27 return $loader; -
muzapay/tags/1.1.1/vendor/prefixed/wpify/log/src/Log.php
r3207002 r3313862 13 13 private $channel; 14 14 private $handlers; 15 private $menu_args; 15 16 /** 16 17 * Detailed debug information … … 54 55 * @param string $channel 55 56 * @param array $handlers 57 * @param array $menu_args 56 58 */ 57 public function __construct(string $channel, array $handlers = [] )59 public function __construct(string $channel, array $handlers = [], array $menu_args = []) 58 60 { 59 61 $this->channel = $channel; 60 62 $this->handlers = $handlers; 63 $this->menu_args = $menu_args; 61 64 $this->logger = new Logger($this->channel); 62 65 foreach ($handlers as $handler) { … … 73 76 if (!apply_filters('wpify_log_tools_initialized', \false)) { 74 77 add_filter('wpify_log_tools_initialized', '__return_true'); 75 new Tools( );78 new Tools($this->menu_args); 76 79 } 77 80 } -
muzapay/tags/1.1.1/vendor/prefixed/wpify/log/src/RotatingFileLog.php
r3207002 r3313862 12 12 * @param string $path 13 13 * @param FormatterInterface|null $formatter 14 * @param array $menu_args 14 15 */ 15 public function __construct(string $channel, string $path = '', ?FormatterInterface $formatter = null )16 public function __construct(string $channel, string $path = '', ?FormatterInterface $formatter = null, array $menu_args = []) 16 17 { 17 18 $filename = sprintf('wpify_log_%s', $channel); … … 27 28 $handler = new RotatingFileHandler($path, 5, Logger::DEBUG, \true, 0660); 28 29 $handler->setFormatter($formatter ?? new JsonFormatter()); 29 parent::__construct($channel, [$handler] );30 parent::__construct($channel, [$handler], $menu_args); 30 31 } 31 32 } -
muzapay/tags/1.1.1/vendor/prefixed/wpify/log/src/Tools.php
r3207002 r3313862 5 5 class Tools 6 6 { 7 public function __construct() 7 private $menu_args; 8 public function __construct(array $menu_args = []) 8 9 { 9 add_action('admin_menu', [$this, 'add_menu_page']); 10 $this->menu_args = $menu_args; 11 add_action('admin_menu', [$this, 'add_menu_page'], 99); 10 12 } 11 13 public function add_menu_page() 12 14 { 13 add_submenu_page( 'tools.php', __('WPify Logs', 'muzapay'), __('WPify Logs', 'muzapay'), 'read', 'wpify-logs', [$this, 'logs_screen']);15 add_submenu_page($this->menu_args['parent_slug'] ?? 'tools.php', $this->menu_args['page_title'] ?? __('WPify Logs', 'muzapay'), $this->menu_args['menu_title'] ?? __('WPify Logs', 'muzapay'), $this->menu_args['capability'] ?? 'read', $this->menu_args['menu_slug'] ?? 'wpify-logs', [$this, 'logs_screen'], 109); 14 16 } 15 17 public function logs_screen() … … 31 33 _e('WPify Logs', 'muzapay'); 32 34 ?></h2> 33 <form action="" >35 <form action="" style="justify-content: start; margin-bottom: 20px"> 34 36 <select name="log-file" id="log-file" style="max-width: 300px;"> 35 37 <option value=""></option> … … 44 46 echo basename($file); 45 47 ?></option> 46 <?php48 <?php 47 49 } 48 50 ?> … … 53 55 </div> 54 56 55 <?php 57 <div class="wrap"> 58 <?php 56 59 if (!empty($_GET['log-file'])) { 57 60 $file = str_replace('\\\\', '\\', $_GET['log-file']); 58 61 if (!\in_array($file, $files)) { 59 62 ?> 60 <p><?php63 <p><?php 61 64 _e('File not found, cheating, huh?', 'muzapay'); 62 65 ?></p> 63 <?php66 <?php 64 67 } else { 65 68 $logs = array_map(function ($item) { … … 71 74 $header[] = $key; 72 75 } 76 echo '<pre>'; 77 // var_dump( $logs ); 78 echo '</pre>'; 73 79 ?> 74 80 75 <table class="wp-list-table widefat fixed striped table-view-list posts">76 <thead>77 <tr>78 <?php81 <table class="wp-list-table widefat fixed striped table-view-list posts"> 82 <thead> 83 <tr> 84 <?php 79 85 foreach ($header as $item) { 80 86 ?> 81 <th><?php 87 <th style="width: <?php 88 echo $this->column_width($item); 89 ?>"><?php 82 90 echo $item; 83 91 ?></th> 84 <?php92 <?php 85 93 } 86 94 ?> 87 </tr>88 </thead>89 <tbody>90 <?php95 </tr> 96 </thead> 97 <tbody> 98 <?php 91 99 foreach ($logs as $log) { 92 100 ?> 93 <tr>94 <?php95 foreach ($log as $ item) {101 <tr> 102 <?php 103 foreach ($log as $key => $item) { 96 104 ?> 97 <td><?php 98 echo is_array($item) ? json_encode($item) : $item; 105 <td style="width: <?php 106 echo $this->column_width($key); 107 ?>"><?php 108 $this->pretty_print_log_item($item); 99 109 ?></td> 100 <?php110 <?php 101 111 } 102 112 ?> 103 </tr>104 <?php113 </tr> 114 <?php 105 115 } 106 116 ?> 107 </tbody>108 </table>109 <?php117 </tbody> 118 </table> 119 <?php 110 120 } 111 121 } 112 122 } 123 ?> 124 </div> 125 <?php 126 } 127 public function column_width($key) 128 { 129 switch ($key) { 130 case 'context': 131 $width = '44%'; 132 break; 133 case 'level': 134 case 'level_name': 135 case 'extra': 136 $width = '7%'; 137 break; 138 default: 139 $width = '15%'; 140 break; 141 } 142 return $width; 143 } 144 public function pretty_print_log_item($item) 145 { 146 if (is_string($item) && ($item[0] === '{' && str_ends_with($item, '}') || $item[0] === '[' && str_ends_with($item, ']'))) { 147 $decoded = json_decode($item, \true); 148 if (json_last_error() === \JSON_ERROR_NONE) { 149 $item = $decoded; 150 } 151 } 152 if (is_array($item)) { 153 $json = json_encode($item, \JSON_UNESCAPED_UNICODE | \JSON_PRETTY_PRINT); 154 $body = trim($json); 155 if ($body[0] === '{' && substr($body, -1) === '}') { 156 $body = substr($body, 1, -1); 157 } 158 echo '<pre style="white-space: pre-wrap; word-break: break-all; font-size:13px; margin:0;">' . $body . '</pre>'; 159 } else { 160 echo esc_html($item); 161 } 113 162 } 114 163 } -
muzapay/tags/1.1.1/vendor/prefixed/wpify/model/src/OrderItem.php
r3207002 r3313862 31 31 * Order item tax total. 32 32 */ 33 #[AccessorObject ]33 #[AccessorObject('total_tax')] 34 34 public float $tax_total; 35 35 /** … … 118 118 } 119 119 } 120 if (!$rate && $this->tax_total && $this->unit_price_tax_excluded !== $this->unit_price_tax_included) { 121 $rate = \round($this->tax_total / ($this->wc_order_item->get_total() / 100)); 122 } 120 123 return \floatval($rate); 121 124 } -
muzapay/tags/1.1.1/vendor/prefixed/wpify/model/src/PostRepository.php
r3207002 r3313862 17 17 class PostRepository extends Repository 18 18 { 19 pr ivate?WP_Query $query;19 protected ?WP_Query $query; 20 20 /** 21 21 * Returns the model class name. … … 116 116 continue; 117 117 } 118 $source = $prop['source'] ;118 $source = $prop['source'] ?? null; 119 119 $key = $source->key ?? $prop['name']; 120 120 if (method_exists($model, 'persist_' . $prop['name'])) { -
muzapay/trunk/muzapay.php
r3253891 r3313862 3 3 * Plugin Name: MúzaPay 4 4 * Description: Official MúzaPay plugin for WooCommerce. 5 * Version: 1.1. 05 * Version: 1.1.1 6 6 * Requires PHP: 8.0.0 7 7 * Requires at least: 6.0.9 -
muzapay/trunk/readme.txt
r3253891 r3313862 3 3 Tags: Benefit Plus, MuzaPay, payment, gateway, woocommerce 4 4 Requires at least: 6.0 5 Tested up to: 6. 75 Tested up to: 6.8 6 6 Requires PHP: 8.0 7 Stable tag: 1.1. 07 Stable tag: 1.1.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 28 28 29 29 == Changelog == 30 = 1.1.1= 31 * Add filter muzapay_product_category 32 30 33 = 1.1.0= 31 34 * Add certificate generation to admin settings -
muzapay/trunk/src/Features/Gateway.php
r3253891 r3313862 272 272 } 273 273 $p = $repo->get( $item['product_id'] ); 274 if ( ! $p->muzapay_category ) { 274 $category = $p->muzapay_category; 275 $category = apply_filters('muzapay_product_category', $category, $item['product_id'], $item); 276 if ( ! $category ) { 275 277 return false; 276 278 } -
muzapay/trunk/vendor/composer/installed.php
r3253891 r3313862 2 2 'root' => array( 3 3 'name' => 'wpify/muzapay', 4 'pretty_version' => '1.1. 0',5 'version' => '1.1. 0.0',6 'reference' => ' 95c0001003266ed1faeefc134e24f827d31d4b44',4 'pretty_version' => '1.1.1', 5 'version' => '1.1.1.0', 6 'reference' => '57a1a90155da6b1c9e3df5ceb279b1ae0dcaa5d9', 7 7 'type' => 'project', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'wpify/muzapay' => array( 14 'pretty_version' => '1.1. 0',15 'version' => '1.1. 0.0',16 'reference' => ' 95c0001003266ed1faeefc134e24f827d31d4b44',14 'pretty_version' => '1.1.1', 15 'version' => '1.1.1.0', 16 'reference' => '57a1a90155da6b1c9e3df5ceb279b1ae0dcaa5d9', 17 17 'type' => 'project', 18 18 'install_path' => __DIR__ . '/../../', -
muzapay/trunk/vendor/prefixed/composer/installed.json
r3253891 r3313862 3 3 { 4 4 "name": "guzzlehttp\/guzzle", 5 "version": "7.9. 2",6 "version_normalized": "7.9. 2.0",5 "version": "7.9.3", 6 "version_normalized": "7.9.3.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https:\/\/github.com\/guzzle\/guzzle.git", 10 "reference": " d281ed313b989f213357e3be1a179f02196ac99b"11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https:\/\/api.github.com\/repos\/guzzle\/guzzle\/zipball\/ d281ed313b989f213357e3be1a179f02196ac99b",15 "reference": " d281ed313b989f213357e3be1a179f02196ac99b",10 "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77" 11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https:\/\/api.github.com\/repos\/guzzle\/guzzle\/zipball\/7b2f29fe81dc4da0ca0ea7d42107a0845946ea77", 15 "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77", 16 16 "shasum": "" 17 17 }, … … 40 40 "psr\/log": "Required for using the Log middleware" 41 41 }, 42 "time": "202 4-07-24T11:22:20+00:00",42 "time": "2025-03-27T13:37:11+00:00", 43 43 "type": "library", 44 44 "extra": { … … 112 112 "support": { 113 113 "issues": "https:\/\/github.com\/guzzle\/guzzle\/issues", 114 "source": "https:\/\/github.com\/guzzle\/guzzle\/tree\/7.9. 2"114 "source": "https:\/\/github.com\/guzzle\/guzzle\/tree\/7.9.3" 115 115 }, 116 116 "funding": [ … … 132 132 { 133 133 "name": "guzzlehttp\/promises", 134 "version": "2. 0.4",135 "version_normalized": "2. 0.4.0",134 "version": "2.2.0", 135 "version_normalized": "2.2.0.0", 136 136 "source": { 137 137 "type": "git", 138 138 "url": "https:\/\/github.com\/guzzle\/promises.git", 139 "reference": " f9c436286ab2892c7db7be8c8da4ef61ccf7b455"140 }, 141 "dist": { 142 "type": "zip", 143 "url": "https:\/\/api.github.com\/repos\/guzzle\/promises\/zipball\/ f9c436286ab2892c7db7be8c8da4ef61ccf7b455",144 "reference": " f9c436286ab2892c7db7be8c8da4ef61ccf7b455",139 "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c" 140 }, 141 "dist": { 142 "type": "zip", 143 "url": "https:\/\/api.github.com\/repos\/guzzle\/promises\/zipball\/7c69f28996b0a6920945dd20b3857e499d9ca96c", 144 "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c", 145 145 "shasum": "" 146 146 }, … … 152 152 "phpunit\/phpunit": "^8.5.39 || ^9.6.20" 153 153 }, 154 "time": "202 4-10-17T10:06:22+00:00",154 "time": "2025-03-27T13:27:01+00:00", 155 155 "type": "library", 156 156 "extra": { … … 198 198 "support": { 199 199 "issues": "https:\/\/github.com\/guzzle\/promises\/issues", 200 "source": "https:\/\/github.com\/guzzle\/promises\/tree\/2. 0.4"200 "source": "https:\/\/github.com\/guzzle\/promises\/tree\/2.2.0" 201 201 }, 202 202 "funding": [ … … 218 218 { 219 219 "name": "guzzlehttp\/psr7", 220 "version": "2.7. 0",221 "version_normalized": "2.7. 0.0",220 "version": "2.7.1", 221 "version_normalized": "2.7.1.0", 222 222 "source": { 223 223 "type": "git", 224 224 "url": "https:\/\/github.com\/guzzle\/psr7.git", 225 "reference": " a70f5c95fb43bc83f07c9c948baa0dc1829bf201"226 }, 227 "dist": { 228 "type": "zip", 229 "url": "https:\/\/api.github.com\/repos\/guzzle\/psr7\/zipball\/ a70f5c95fb43bc83f07c9c948baa0dc1829bf201",230 "reference": " a70f5c95fb43bc83f07c9c948baa0dc1829bf201",225 "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16" 226 }, 227 "dist": { 228 "type": "zip", 229 "url": "https:\/\/api.github.com\/repos\/guzzle\/psr7\/zipball\/c2270caaabe631b3b44c85f99e5a04bbb8060d16", 230 "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16", 231 231 "shasum": "" 232 232 }, … … 249 249 "laminas\/laminas-httphandlerrunner": "Emit PSR-7 responses" 250 250 }, 251 "time": "202 4-07-18T11:15:46+00:00",251 "time": "2025-03-27T12:30:47+00:00", 252 252 "type": "library", 253 253 "extra": { … … 317 317 "support": { 318 318 "issues": "https:\/\/github.com\/guzzle\/psr7\/issues", 319 "source": "https:\/\/github.com\/guzzle\/psr7\/tree\/2.7. 0"319 "source": "https:\/\/github.com\/guzzle\/psr7\/tree\/2.7.1" 320 320 }, 321 321 "funding": [ … … 1168 1168 { 1169 1169 "name": "wpify\/log", 1170 "version": "1. 0.10",1171 "version_normalized": "1. 0.10.0",1170 "version": "1.1.1", 1171 "version_normalized": "1.1.1.0", 1172 1172 "source": { 1173 1173 "type": "git", 1174 1174 "url": "https:\/\/github.com\/wpify\/log.git", 1175 "reference": " 43bb35f12babe33b0343bb3d3f85239248c48701"1176 }, 1177 "dist": { 1178 "type": "zip", 1179 "url": "https:\/\/api.github.com\/repos\/wpify\/log\/zipball\/ 43bb35f12babe33b0343bb3d3f85239248c48701",1180 "reference": " 43bb35f12babe33b0343bb3d3f85239248c48701",1175 "reference": "5b856a623a574d3ba4f2138d5f4d94c0625329ff" 1176 }, 1177 "dist": { 1178 "type": "zip", 1179 "url": "https:\/\/api.github.com\/repos\/wpify\/log\/zipball\/5b856a623a574d3ba4f2138d5f4d94c0625329ff", 1180 "reference": "5b856a623a574d3ba4f2138d5f4d94c0625329ff", 1181 1181 "shasum": "" 1182 1182 }, … … 1185 1185 "psr\/log": "1.1.4" 1186 1186 }, 1187 "time": "202 2-11-15T20:50:07+00:00",1187 "time": "2025-06-04T15:03:26+00:00", 1188 1188 "type": "library", 1189 1189 "installation-source": "dist", … … 1206 1206 "support": { 1207 1207 "issues": "https:\/\/github.com\/wpify\/log\/issues", 1208 "source": "https:\/\/github.com\/wpify\/log\/tree\/1. 0.10"1208 "source": "https:\/\/github.com\/wpify\/log\/tree\/1.1.1" 1209 1209 }, 1210 1210 "install-path": "..\/wpify\/log" … … 1212 1212 { 1213 1213 "name": "wpify\/model", 1214 "version": "4.1.2 1",1215 "version_normalized": "4.1.2 1.0",1214 "version": "4.1.24", 1215 "version_normalized": "4.1.24.0", 1216 1216 "source": { 1217 1217 "type": "git", 1218 1218 "url": "https:\/\/github.com\/wpify\/model.git", 1219 "reference": " 64ece3dfe1431f8d353e38c2d40465f64040e0f9"1220 }, 1221 "dist": { 1222 "type": "zip", 1223 "url": "https:\/\/api.github.com\/repos\/wpify\/model\/zipball\/ 64ece3dfe1431f8d353e38c2d40465f64040e0f9",1224 "reference": " 64ece3dfe1431f8d353e38c2d40465f64040e0f9",1219 "reference": "ebcac0038014dd0a8d7af5b31e3ee1efa542e9ec" 1220 }, 1221 "dist": { 1222 "type": "zip", 1223 "url": "https:\/\/api.github.com\/repos\/wpify\/model\/zipball\/ebcac0038014dd0a8d7af5b31e3ee1efa542e9ec", 1224 "reference": "ebcac0038014dd0a8d7af5b31e3ee1efa542e9ec", 1225 1225 "shasum": "" 1226 1226 }, … … 1228 1228 "php": ">=8.0.0" 1229 1229 }, 1230 "time": "2025-0 1-24T09:07:27+00:00",1230 "time": "2025-05-21T09:30:57+00:00", 1231 1231 "type": "library", 1232 1232 "installation-source": "dist", … … 1249 1249 "support": { 1250 1250 "issues": "https:\/\/github.com\/wpify\/model\/issues", 1251 "source": "https:\/\/github.com\/wpify\/model\/tree\/4.1.2 1"1251 "source": "https:\/\/github.com\/wpify\/model\/tree\/4.1.24" 1252 1252 }, 1253 1253 "install-path": "..\/wpify\/model" -
muzapay/trunk/vendor/prefixed/composer/installed.php
r3253891 r3313862 3 3 namespace MuzaPayDeps; 4 4 5 return array('root' => array('name' => 'wpify/muzapay', 'pretty_version' => '1.1. 0', 'version' => '1.1.0.0', 'reference' => '95c0001003266ed1faeefc134e24f827d31d4b44', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('guzzlehttp/guzzle' => array('pretty_version' => '7.9.2', 'version' => '7.9.2.0', 'reference' => 'd281ed313b989f213357e3be1a179f02196ac99b', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.0.4', 'version' => '2.0.4.0', 'reference' => 'f9c436286ab2892c7db7be8c8da4ef61ccf7b455', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.7.0', 'version' => '2.7.0.0', 'reference' => 'a70f5c95fb43bc83f07c9c948baa0dc1829bf201', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'monolog/monolog' => array('pretty_version' => '2.10.0', 'version' => '2.10.0.0', 'reference' => '5cf826f2991858b54d5c3809bee745560a1042a7', 'type' => 'library', 'install_path' => __DIR__ . '/../monolog/monolog', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.6', 'version' => '2.3.6.0', 'reference' => '59f15608528d8a8838d69b422a919fd6b16aa576', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '7.0.0', 'version' => '7.0.0.0', 'reference' => 'f0ca9a0e0fb800974fcaf7b2f896ca1e840fd15b', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '2.0.2', 'version' => '2.0.2.0', 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'psr/http-client' => array('pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0.0 || 2.0.0 || 3.0.0')), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v2.5.4', 'version' => '2.5.4.0', 'reference' => '605389f2a7e5625f273b53960dc46aeaf9c62918', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/asset' => array('pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'reference' => 'faf957af650b441b49f03cb7ffa42abfe157b43b', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/benefit-plus-gateway-sdk' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'aacc448402d5e072e1616836b34f7a4d8098c272', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/benefit-plus-gateway-sdk', 'aliases' => array(0 => '9999999-dev'), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '3.14.2', 'version' => '3.14.2.0', 'reference' => 'a04885848f045700cb1430becd41a82c9a711db2', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.0.10', 'version' => '1.0.10.0', 'reference' => '43bb35f12babe33b0343bb3d3f85239248c48701', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.21', 'version' => '4.1.21.0', 'reference' => '64ece3dfe1431f8d353e38c2d40465f64040e0f9', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/muzapay' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '95c0001003266ed1faeefc134e24f827d31d4b44', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false)));5 return array('root' => array('name' => 'wpify/muzapay', 'pretty_version' => '1.1.1', 'version' => '1.1.1.0', 'reference' => '57a1a90155da6b1c9e3df5ceb279b1ae0dcaa5d9', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('guzzlehttp/guzzle' => array('pretty_version' => '7.9.3', 'version' => '7.9.3.0', 'reference' => '7b2f29fe81dc4da0ca0ea7d42107a0845946ea77', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.2.0', 'version' => '2.2.0.0', 'reference' => '7c69f28996b0a6920945dd20b3857e499d9ca96c', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.7.1', 'version' => '2.7.1.0', 'reference' => 'c2270caaabe631b3b44c85f99e5a04bbb8060d16', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'monolog/monolog' => array('pretty_version' => '2.10.0', 'version' => '2.10.0.0', 'reference' => '5cf826f2991858b54d5c3809bee745560a1042a7', 'type' => 'library', 'install_path' => __DIR__ . '/../monolog/monolog', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.6', 'version' => '2.3.6.0', 'reference' => '59f15608528d8a8838d69b422a919fd6b16aa576', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '7.0.0', 'version' => '7.0.0.0', 'reference' => 'f0ca9a0e0fb800974fcaf7b2f896ca1e840fd15b', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '2.0.2', 'version' => '2.0.2.0', 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'psr/http-client' => array('pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0.0 || 2.0.0 || 3.0.0')), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v2.5.4', 'version' => '2.5.4.0', 'reference' => '605389f2a7e5625f273b53960dc46aeaf9c62918', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/asset' => array('pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'reference' => 'faf957af650b441b49f03cb7ffa42abfe157b43b', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/benefit-plus-gateway-sdk' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'aacc448402d5e072e1616836b34f7a4d8098c272', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/benefit-plus-gateway-sdk', 'aliases' => array(0 => '9999999-dev'), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '3.14.2', 'version' => '3.14.2.0', 'reference' => 'a04885848f045700cb1430becd41a82c9a711db2', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.1.1', 'version' => '1.1.1.0', 'reference' => '5b856a623a574d3ba4f2138d5f4d94c0625329ff', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.24', 'version' => '4.1.24.0', 'reference' => 'ebcac0038014dd0a8d7af5b31e3ee1efa542e9ec', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/muzapay' => array('pretty_version' => '1.1.1', 'version' => '1.1.1.0', 'reference' => '57a1a90155da6b1c9e3df5ceb279b1ae0dcaa5d9', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false))); -
muzapay/trunk/vendor/prefixed/guzzlehttp/guzzle/CHANGELOG.md
r3179972 r3313862 2 2 3 3 Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version. 4 5 6 ## 7.9.3 - 2025-03-27 7 8 ### Changed 9 10 - Remove explicit content-length header for GET requests 11 - Improve compatibility with bad servers for boolean cookie values 4 12 5 13 -
muzapay/trunk/vendor/prefixed/guzzlehttp/guzzle/src/Cookie/SetCookie.php
r3207002 r3313862 47 47 $data[$search] = (int) $value; 48 48 } 49 } elseif ($search === 'Secure' || $search === 'Discard' || $search === 'HttpOnly') { 50 if ($value) { 51 $data[$search] = \true; 52 } 49 53 } else { 50 54 $data[$search] = $value; -
muzapay/trunk/vendor/prefixed/guzzlehttp/guzzle/src/Handler/Proxy.php
r3207002 r3313862 17 17 * requests to another handler. 18 18 * 19 * @param callable( \Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default Handler used for normal responses20 * @param callable( \Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $sync Handler used for synchronous responses.19 * @param callable(RequestInterface, array): PromiseInterface $default Handler used for normal responses 20 * @param callable(RequestInterface, array): PromiseInterface $sync Handler used for synchronous responses. 21 21 * 22 * @return callable( \Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.22 * @return callable(RequestInterface, array): PromiseInterface Returns the composed handler. 23 23 */ 24 24 public static function wrapSync(callable $default, callable $sync): callable … … 36 36 * through the StreamHandler. 37 37 * 38 * @param callable( \Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default Handler used for non-streaming responses39 * @param callable( \Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $streaming Handler used for streaming responses38 * @param callable(RequestInterface, array): PromiseInterface $default Handler used for non-streaming responses 39 * @param callable(RequestInterface, array): PromiseInterface $streaming Handler used for streaming responses 40 40 * 41 * @return callable( \Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.41 * @return callable(RequestInterface, array): PromiseInterface Returns the composed handler. 42 42 */ 43 43 public static function wrapStreaming(callable $default, callable $streaming): callable -
muzapay/trunk/vendor/prefixed/guzzlehttp/guzzle/src/Handler/StreamHandler.php
r3207002 r3313862 47 47 $request = $request->withoutHeader('Expect'); 48 48 // Append a content-length header if body size is zero to match 49 // cURL's behavior.50 if ( 0 === $request->getBody()->getSize()) {49 // the behavior of `CurlHandler` 50 if ((0 === \strcasecmp('PUT', $request->getMethod()) || 0 === \strcasecmp('POST', $request->getMethod())) && 0 === $request->getBody()->getSize()) { 51 51 $request = $request->withHeader('Content-Length', '0'); 52 52 } -
muzapay/trunk/vendor/prefixed/guzzlehttp/guzzle/src/Pool.php
r3207002 r3313862 80 80 * @param array|\Iterator $requests Requests to send concurrently. 81 81 * @param array $options Passes through the options available in 82 * {@see \GuzzleHttp\Pool::__construct}82 * {@see Pool::__construct} 83 83 * 84 84 * @return array Returns an array containing the response or an exception -
muzapay/trunk/vendor/prefixed/guzzlehttp/guzzle/src/Utils.php
r3207002 r3313862 72 72 * The returned handler is not wrapped by any default middlewares. 73 73 * 74 * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the best handler for the given system.74 * @return callable(\Psr\Http\Message\RequestInterface, array): Promise\PromiseInterface Returns the best handler for the given system. 75 75 * 76 76 * @throws \RuntimeException if no viable Handler is available. -
muzapay/trunk/vendor/prefixed/guzzlehttp/guzzle/src/functions.php
r3207002 r3313862 48 48 * The returned handler is not wrapped by any default middlewares. 49 49 * 50 * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the best handler for the given system.50 * @return callable(\Psr\Http\Message\RequestInterface, array): Promise\PromiseInterface Returns the best handler for the given system. 51 51 * 52 52 * @throws \RuntimeException if no viable Handler is available. -
muzapay/trunk/vendor/prefixed/guzzlehttp/promises/CHANGELOG.md
r3207002 r3313862 1 1 # CHANGELOG 2 3 4 ## 2.2.0 - 2025-03-27 5 6 ### Fixed 7 8 - Revert "Allow an empty EachPromise to be resolved by running the queue" 9 10 11 ## 2.1.0 - 2025-03-27 12 13 ### Added 14 15 - Allow an empty EachPromise to be resolved by running the queue 2 16 3 17 -
muzapay/trunk/vendor/prefixed/guzzlehttp/psr7/CHANGELOG.md
r3179972 r3313862 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 8 ## 2.7.1 - 2025-03-27 9 10 ### Fixed 11 12 - Fixed uppercase IPv6 addresses in URI 13 14 ### Changed 15 16 - Improve uploaded file error message 7 17 8 18 ## 2.7.0 - 2024-07-18 -
muzapay/trunk/vendor/prefixed/guzzlehttp/psr7/src/UploadedFile.php
r3207002 r3313862 10 10 class UploadedFile implements UploadedFileInterface 11 11 { 12 private const ERROR S = [\UPLOAD_ERR_OK, \UPLOAD_ERR_INI_SIZE, \UPLOAD_ERR_FORM_SIZE, \UPLOAD_ERR_PARTIAL, \UPLOAD_ERR_NO_FILE, \UPLOAD_ERR_NO_TMP_DIR, \UPLOAD_ERR_CANT_WRITE, \UPLOAD_ERR_EXTENSION];12 private const ERROR_MAP = [\UPLOAD_ERR_OK => 'UPLOAD_ERR_OK', \UPLOAD_ERR_INI_SIZE => 'UPLOAD_ERR_INI_SIZE', \UPLOAD_ERR_FORM_SIZE => 'UPLOAD_ERR_FORM_SIZE', \UPLOAD_ERR_PARTIAL => 'UPLOAD_ERR_PARTIAL', \UPLOAD_ERR_NO_FILE => 'UPLOAD_ERR_NO_FILE', \UPLOAD_ERR_NO_TMP_DIR => 'UPLOAD_ERR_NO_TMP_DIR', \UPLOAD_ERR_CANT_WRITE => 'UPLOAD_ERR_CANT_WRITE', \UPLOAD_ERR_EXTENSION => 'UPLOAD_ERR_EXTENSION']; 13 13 /** 14 14 * @var string|null … … 76 76 private function setError(int $error): void 77 77 { 78 if ( \false === in_array($error, UploadedFile::ERRORS, \true)) {78 if (!isset(UploadedFile::ERROR_MAP[$error])) { 79 79 throw new InvalidArgumentException('Invalid error status for UploadedFile'); 80 80 } … … 102 102 { 103 103 if (\false === $this->isOk()) { 104 throw new RuntimeException( 'Cannot retrieve stream due to upload error');104 throw new RuntimeException(\sprintf('Cannot retrieve stream due to upload error (%s)', self::ERROR_MAP[$this->error])); 105 105 } 106 106 if ($this->isMoved()) { -
muzapay/trunk/vendor/prefixed/guzzlehttp/psr7/src/Uri.php
r3207002 r3313862 81 81 // If IPv6 82 82 $prefix = ''; 83 if (preg_match('%^(.*://\[[0-9:a-f ]+\])(.*?)$%', $url, $matches)) {83 if (preg_match('%^(.*://\[[0-9:a-fA-F]+\])(.*?)$%', $url, $matches)) { 84 84 /** @var array{0:string, 1:string, 2:string} $matches */ 85 85 $prefix = $matches[1]; -
muzapay/trunk/vendor/prefixed/scoper-autoload.php
r3207002 r3313862 23 23 // Function aliases. For more information see: 24 24 // https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#function-aliases 25 // if (!function_exists('getallheaders')) { function getallheaders() { return \MuzaPayDeps\getallheaders(...func_get_args()); } } 25 // if (!function_exists('getallheaders')) { function getallheaders() { return \MuzaPayDeps\getallheaders(...func_get_args()); } } // commented by WPify Scoper 26 26 27 27 return $loader; -
muzapay/trunk/vendor/prefixed/wpify/log/src/Log.php
r3207002 r3313862 13 13 private $channel; 14 14 private $handlers; 15 private $menu_args; 15 16 /** 16 17 * Detailed debug information … … 54 55 * @param string $channel 55 56 * @param array $handlers 57 * @param array $menu_args 56 58 */ 57 public function __construct(string $channel, array $handlers = [] )59 public function __construct(string $channel, array $handlers = [], array $menu_args = []) 58 60 { 59 61 $this->channel = $channel; 60 62 $this->handlers = $handlers; 63 $this->menu_args = $menu_args; 61 64 $this->logger = new Logger($this->channel); 62 65 foreach ($handlers as $handler) { … … 73 76 if (!apply_filters('wpify_log_tools_initialized', \false)) { 74 77 add_filter('wpify_log_tools_initialized', '__return_true'); 75 new Tools( );78 new Tools($this->menu_args); 76 79 } 77 80 } -
muzapay/trunk/vendor/prefixed/wpify/log/src/RotatingFileLog.php
r3207002 r3313862 12 12 * @param string $path 13 13 * @param FormatterInterface|null $formatter 14 * @param array $menu_args 14 15 */ 15 public function __construct(string $channel, string $path = '', ?FormatterInterface $formatter = null )16 public function __construct(string $channel, string $path = '', ?FormatterInterface $formatter = null, array $menu_args = []) 16 17 { 17 18 $filename = sprintf('wpify_log_%s', $channel); … … 27 28 $handler = new RotatingFileHandler($path, 5, Logger::DEBUG, \true, 0660); 28 29 $handler->setFormatter($formatter ?? new JsonFormatter()); 29 parent::__construct($channel, [$handler] );30 parent::__construct($channel, [$handler], $menu_args); 30 31 } 31 32 } -
muzapay/trunk/vendor/prefixed/wpify/log/src/Tools.php
r3207002 r3313862 5 5 class Tools 6 6 { 7 public function __construct() 7 private $menu_args; 8 public function __construct(array $menu_args = []) 8 9 { 9 add_action('admin_menu', [$this, 'add_menu_page']); 10 $this->menu_args = $menu_args; 11 add_action('admin_menu', [$this, 'add_menu_page'], 99); 10 12 } 11 13 public function add_menu_page() 12 14 { 13 add_submenu_page( 'tools.php', __('WPify Logs', 'muzapay'), __('WPify Logs', 'muzapay'), 'read', 'wpify-logs', [$this, 'logs_screen']);15 add_submenu_page($this->menu_args['parent_slug'] ?? 'tools.php', $this->menu_args['page_title'] ?? __('WPify Logs', 'muzapay'), $this->menu_args['menu_title'] ?? __('WPify Logs', 'muzapay'), $this->menu_args['capability'] ?? 'read', $this->menu_args['menu_slug'] ?? 'wpify-logs', [$this, 'logs_screen'], 109); 14 16 } 15 17 public function logs_screen() … … 31 33 _e('WPify Logs', 'muzapay'); 32 34 ?></h2> 33 <form action="" >35 <form action="" style="justify-content: start; margin-bottom: 20px"> 34 36 <select name="log-file" id="log-file" style="max-width: 300px;"> 35 37 <option value=""></option> … … 44 46 echo basename($file); 45 47 ?></option> 46 <?php48 <?php 47 49 } 48 50 ?> … … 53 55 </div> 54 56 55 <?php 57 <div class="wrap"> 58 <?php 56 59 if (!empty($_GET['log-file'])) { 57 60 $file = str_replace('\\\\', '\\', $_GET['log-file']); 58 61 if (!\in_array($file, $files)) { 59 62 ?> 60 <p><?php63 <p><?php 61 64 _e('File not found, cheating, huh?', 'muzapay'); 62 65 ?></p> 63 <?php66 <?php 64 67 } else { 65 68 $logs = array_map(function ($item) { … … 71 74 $header[] = $key; 72 75 } 76 echo '<pre>'; 77 // var_dump( $logs ); 78 echo '</pre>'; 73 79 ?> 74 80 75 <table class="wp-list-table widefat fixed striped table-view-list posts">76 <thead>77 <tr>78 <?php81 <table class="wp-list-table widefat fixed striped table-view-list posts"> 82 <thead> 83 <tr> 84 <?php 79 85 foreach ($header as $item) { 80 86 ?> 81 <th><?php 87 <th style="width: <?php 88 echo $this->column_width($item); 89 ?>"><?php 82 90 echo $item; 83 91 ?></th> 84 <?php92 <?php 85 93 } 86 94 ?> 87 </tr>88 </thead>89 <tbody>90 <?php95 </tr> 96 </thead> 97 <tbody> 98 <?php 91 99 foreach ($logs as $log) { 92 100 ?> 93 <tr>94 <?php95 foreach ($log as $ item) {101 <tr> 102 <?php 103 foreach ($log as $key => $item) { 96 104 ?> 97 <td><?php 98 echo is_array($item) ? json_encode($item) : $item; 105 <td style="width: <?php 106 echo $this->column_width($key); 107 ?>"><?php 108 $this->pretty_print_log_item($item); 99 109 ?></td> 100 <?php110 <?php 101 111 } 102 112 ?> 103 </tr>104 <?php113 </tr> 114 <?php 105 115 } 106 116 ?> 107 </tbody>108 </table>109 <?php117 </tbody> 118 </table> 119 <?php 110 120 } 111 121 } 112 122 } 123 ?> 124 </div> 125 <?php 126 } 127 public function column_width($key) 128 { 129 switch ($key) { 130 case 'context': 131 $width = '44%'; 132 break; 133 case 'level': 134 case 'level_name': 135 case 'extra': 136 $width = '7%'; 137 break; 138 default: 139 $width = '15%'; 140 break; 141 } 142 return $width; 143 } 144 public function pretty_print_log_item($item) 145 { 146 if (is_string($item) && ($item[0] === '{' && str_ends_with($item, '}') || $item[0] === '[' && str_ends_with($item, ']'))) { 147 $decoded = json_decode($item, \true); 148 if (json_last_error() === \JSON_ERROR_NONE) { 149 $item = $decoded; 150 } 151 } 152 if (is_array($item)) { 153 $json = json_encode($item, \JSON_UNESCAPED_UNICODE | \JSON_PRETTY_PRINT); 154 $body = trim($json); 155 if ($body[0] === '{' && substr($body, -1) === '}') { 156 $body = substr($body, 1, -1); 157 } 158 echo '<pre style="white-space: pre-wrap; word-break: break-all; font-size:13px; margin:0;">' . $body . '</pre>'; 159 } else { 160 echo esc_html($item); 161 } 113 162 } 114 163 } -
muzapay/trunk/vendor/prefixed/wpify/model/src/OrderItem.php
r3207002 r3313862 31 31 * Order item tax total. 32 32 */ 33 #[AccessorObject ]33 #[AccessorObject('total_tax')] 34 34 public float $tax_total; 35 35 /** … … 118 118 } 119 119 } 120 if (!$rate && $this->tax_total && $this->unit_price_tax_excluded !== $this->unit_price_tax_included) { 121 $rate = \round($this->tax_total / ($this->wc_order_item->get_total() / 100)); 122 } 120 123 return \floatval($rate); 121 124 } -
muzapay/trunk/vendor/prefixed/wpify/model/src/PostRepository.php
r3207002 r3313862 17 17 class PostRepository extends Repository 18 18 { 19 pr ivate?WP_Query $query;19 protected ?WP_Query $query; 20 20 /** 21 21 * Returns the model class name. … … 116 116 continue; 117 117 } 118 $source = $prop['source'] ;118 $source = $prop['source'] ?? null; 119 119 $key = $source->key ?? $prop['name']; 120 120 if (method_exists($model, 'persist_' . $prop['name'])) {
Note: See TracChangeset
for help on using the changeset viewer.