Plugin Directory

Changeset 3295064


Ignore:
Timestamp:
05/17/2025 03:50:40 AM (11 months ago)
Author:
webimpian
Message:

Fixed Vue.js compatibility issues

Location:
bayarcash-wc
Files:
380 added
25 edited

Legend:

Unmodified
Added
Removed
  • bayarcash-wc/trunk/bayarcash-wc.php

    r3295063 r3295064  
    1313 * Plugin Name:         Bayarcash WC
    1414 * Plugin URI:          https://bayarcash.com/
    15  * Version:             4.3.7
     15 * Version:             4.3.8
    1616 * Description:         Accept payment from Malaysia. Bayarcash support FPX, Direct Debit, DuitNow OBW & DuitNow QR payment channels.
    1717 * Author:              Web Impian
    1818 * Author URI:          https://bayarcash.com/
    1919 * Requires at least:   5.6
    20  * Tested up to:        6.7
     20 * Tested up to:        6.8
    2121 * Requires PHP:        7.4
    2222 * License:             GPLv3
  • bayarcash-wc/trunk/includes/load.php

    r3295063 r3295064  
    1313require_once __DIR__ . '/src/DependencyChecker.php';
    1414require_once __DIR__ . '/src/AdditionalTab.php';
     15require_once __DIR__ . '/admin/compatibility.php';
  • bayarcash-wc/trunk/includes/vendor/autoload.php

    r3206084 r3295064  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • bayarcash-wc/trunk/includes/vendor/composer/InstalledVersions.php

    r3235759 r3295064  
    2828{
    2929    /**
     30     * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to
     31     * @internal
     32     */
     33    private static $selfDir = null;
     34
     35    /**
    3036     * @var mixed[]|null
    3137     * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
    3238     */
    3339    private static $installed;
     40
     41    /**
     42     * @var bool
     43     */
     44    private static $installedIsLocalDir;
    3445
    3546    /**
     
    310321        self::$installed = $data;
    311322        self::$installedByVendor = array();
     323
     324        // when using reload, we disable the duplicate protection to ensure that self::$installed data is
     325        // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not,
     326        // so we have to assume it does not, and that may result in duplicate data being returned when listing
     327        // all installed packages for example
     328        self::$installedIsLocalDir = false;
     329    }
     330
     331    /**
     332     * @return string
     333     */
     334    private static function getSelfDir()
     335    {
     336        if (self::$selfDir === null) {
     337            self::$selfDir = strtr(__DIR__, '\\', '/');
     338        }
     339
     340        return self::$selfDir;
    312341    }
    313342
     
    326355
    327356        if (self::$canGetVendors) {
     357            $selfDir = self::getSelfDir();
    328358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     359                $vendorDir = strtr($vendorDir, '\\', '/');
    329360                if (isset(self::$installedByVendor[$vendorDir])) {
    330361                    $installed[] = self::$installedByVendor[$vendorDir];
     
    334365                    self::$installedByVendor[$vendorDir] = $required;
    335366                    $installed[] = $required;
    336                     if (strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
     367                    if (self::$installed === null && $vendorDir.'/composer' === $selfDir) {
    337368                        self::$installed = $required;
    338                         $copiedLocalDir = true;
     369                        self::$installedIsLocalDir = true;
    339370                    }
     371                }
     372                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
     373                    $copiedLocalDir = true;
    340374                }
    341375            }
  • bayarcash-wc/trunk/includes/vendor/composer/autoload_classmap.php

    r3251032 r3295064  
    147147    'Webimpian\\BayarcashSdk\\Actions\\ChecksumGenerator' => $vendorDir . '/webimpian/bayarcash-php-sdk/src/Actions/ChecksumGenerator.php',
    148148    'Webimpian\\BayarcashSdk\\Actions\\FpxDirectDebitPaymentIntent' => $vendorDir . '/webimpian/bayarcash-php-sdk/src/Actions/FpxDirectDebitPaymentIntent.php',
     149    'Webimpian\\BayarcashSdk\\Actions\\ManualBankTransfer' => $vendorDir . '/webimpian/bayarcash-php-sdk/src/Actions/ManualBankTransfer.php',
    149150    'Webimpian\\BayarcashSdk\\Bayarcash' => $vendorDir . '/webimpian/bayarcash-php-sdk/src/Bayarcash.php',
    150151    'Webimpian\\BayarcashSdk\\BayarcashSdkServiceProvider' => $vendorDir . '/webimpian/bayarcash-php-sdk/src/BayarcashSdkServiceProvider.php',
  • bayarcash-wc/trunk/includes/vendor/composer/autoload_static.php

    r3251032 r3295064  
    218218        'Webimpian\\BayarcashSdk\\Actions\\ChecksumGenerator' => __DIR__ . '/..' . '/webimpian/bayarcash-php-sdk/src/Actions/ChecksumGenerator.php',
    219219        'Webimpian\\BayarcashSdk\\Actions\\FpxDirectDebitPaymentIntent' => __DIR__ . '/..' . '/webimpian/bayarcash-php-sdk/src/Actions/FpxDirectDebitPaymentIntent.php',
     220        'Webimpian\\BayarcashSdk\\Actions\\ManualBankTransfer' => __DIR__ . '/..' . '/webimpian/bayarcash-php-sdk/src/Actions/ManualBankTransfer.php',
    220221        'Webimpian\\BayarcashSdk\\Bayarcash' => __DIR__ . '/..' . '/webimpian/bayarcash-php-sdk/src/Bayarcash.php',
    221222        'Webimpian\\BayarcashSdk\\BayarcashSdkServiceProvider' => __DIR__ . '/..' . '/webimpian/bayarcash-php-sdk/src/BayarcashSdkServiceProvider.php',
  • bayarcash-wc/trunk/includes/vendor/composer/installed.json

    r3235759 r3295064  
    33        {
    44            "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",
    77            "source": {
    88                "type": "git",
    99                "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",
    1616                "shasum": ""
    1717            },
     
    4040                "psr/log": "Required for using the Log middleware"
    4141            },
    42             "time": "2024-07-24T11:22:20+00:00",
     42            "time": "2025-03-27T13:37:11+00:00",
    4343            "type": "library",
    4444            "extra": {
     
    112112            "support": {
    113113                "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"
    115115            },
    116116            "funding": [
     
    132132        {
    133133            "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",
    136136            "source": {
    137137                "type": "git",
    138138                "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",
    145145                "shasum": ""
    146146            },
     
    152152                "phpunit/phpunit": "^8.5.39 || ^9.6.20"
    153153            },
    154             "time": "2024-10-17T10:06:22+00:00",
     154            "time": "2025-03-27T13:27:01+00:00",
    155155            "type": "library",
    156156            "extra": {
     
    198198            "support": {
    199199                "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"
    201201            },
    202202            "funding": [
     
    218218        {
    219219            "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",
    222222            "source": {
    223223                "type": "git",
    224224                "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",
    231231                "shasum": ""
    232232            },
     
    249249                "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
    250250            },
    251             "time": "2024-07-18T11:15:46+00:00",
     251            "time": "2025-03-27T12:30:47+00:00",
    252252            "type": "library",
    253253            "extra": {
     
    317317            "support": {
    318318                "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"
    320320            },
    321321            "funding": [
     
    682682        {
    683683            "name": "webimpian/bayarcash-php-sdk",
    684             "version": "2.0.2",
    685             "version_normalized": "2.0.2.0",
     684            "version": "2.0.4",
     685            "version_normalized": "2.0.4.0",
    686686            "source": {
    687687                "type": "git",
    688688                "url": "https://github.com/webimpian/bayarcash-php-sdk.git",
    689                 "reference": "1966847bc10940c31f1014fe7e951d0e1041e6a3"
    690             },
    691             "dist": {
    692                 "type": "zip",
    693                 "url": "https://api.github.com/repos/webimpian/bayarcash-php-sdk/zipball/1966847bc10940c31f1014fe7e951d0e1041e6a3",
    694                 "reference": "1966847bc10940c31f1014fe7e951d0e1041e6a3",
     689                "reference": "fedc56f5312f283284abda3428176345d38c7b7c"
     690            },
     691            "dist": {
     692                "type": "zip",
     693                "url": "https://api.github.com/repos/webimpian/bayarcash-php-sdk/zipball/fedc56f5312f283284abda3428176345d38c7b7c",
     694                "reference": "fedc56f5312f283284abda3428176345d38c7b7c",
    695695                "shasum": ""
    696696            },
     
    704704                "psr/simple-cache": "^2.0"
    705705            },
    706             "time": "2025-01-18T03:57:05+00:00",
     706            "time": "2025-04-29T12:53:29+00:00",
    707707            "type": "sdk",
    708708            "extra": {
     
    733733            "description": "Bayarcash payment gateway PHP Sdk.",
    734734            "support": {
    735                 "source": "https://github.com/webimpian/bayarcash-php-sdk/tree/v2.0.2",
     735                "source": "https://github.com/webimpian/bayarcash-php-sdk/tree/v2.0.4",
    736736                "issues": "https://github.com/webimpian/bayarcash-php-sdk/issues"
    737737            },
  • bayarcash-wc/trunk/includes/vendor/composer/installed.php

    r3235759 r3295064  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '596492be9bd859d400ec03d28da5d078a360927d',
     6        'reference' => '80e27e961942c99ae7b9d54aec2d3ca45632f31f',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../../',
     
    1414            'pretty_version' => 'dev-master',
    1515            'version' => 'dev-master',
    16             'reference' => '596492be9bd859d400ec03d28da5d078a360927d',
     16            'reference' => '80e27e961942c99ae7b9d54aec2d3ca45632f31f',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../../',
     
    2121        ),
    2222        'guzzlehttp/guzzle' => array(
    23             'pretty_version' => '7.9.2',
    24             'version' => '7.9.2.0',
    25             'reference' => 'd281ed313b989f213357e3be1a179f02196ac99b',
     23            'pretty_version' => '7.9.3',
     24            'version' => '7.9.3.0',
     25            'reference' => '7b2f29fe81dc4da0ca0ea7d42107a0845946ea77',
    2626            'type' => 'library',
    2727            'install_path' => __DIR__ . '/../guzzlehttp/guzzle',
     
    3030        ),
    3131        'guzzlehttp/promises' => array(
    32             'pretty_version' => '2.0.4',
    33             'version' => '2.0.4.0',
    34             'reference' => 'f9c436286ab2892c7db7be8c8da4ef61ccf7b455',
     32            'pretty_version' => '2.2.0',
     33            'version' => '2.2.0.0',
     34            'reference' => '7c69f28996b0a6920945dd20b3857e499d9ca96c',
    3535            'type' => 'library',
    3636            'install_path' => __DIR__ . '/../guzzlehttp/promises',
     
    3939        ),
    4040        'guzzlehttp/psr7' => array(
    41             'pretty_version' => '2.7.0',
    42             'version' => '2.7.0.0',
    43             'reference' => 'a70f5c95fb43bc83f07c9c948baa0dc1829bf201',
     41            'pretty_version' => '2.7.1',
     42            'version' => '2.7.1.0',
     43            'reference' => 'c2270caaabe631b3b44c85f99e5a04bbb8060d16',
    4444            'type' => 'library',
    4545            'install_path' => __DIR__ . '/../guzzlehttp/psr7',
     
    120120        ),
    121121        'webimpian/bayarcash-php-sdk' => array(
    122             'pretty_version' => '2.0.2',
    123             'version' => '2.0.2.0',
    124             'reference' => '1966847bc10940c31f1014fe7e951d0e1041e6a3',
     122            'pretty_version' => '2.0.4',
     123            'version' => '2.0.4.0',
     124            'reference' => 'fedc56f5312f283284abda3428176345d38c7b7c',
    125125            'type' => 'sdk',
    126126            'install_path' => __DIR__ . '/../webimpian/bayarcash-php-sdk',
  • bayarcash-wc/trunk/includes/vendor/guzzlehttp/guzzle/CHANGELOG.md

    r3235759 r3295064  
    22
    33Please 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
    412
    513
  • bayarcash-wc/trunk/includes/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php

    r3235759 r3295064  
    6363                                $data[$search] = (int) $value;
    6464                            }
     65                        } elseif ($search === 'Secure' || $search === 'Discard' || $search === 'HttpOnly') {
     66                            if ($value) {
     67                                $data[$search] = true;
     68                            }
    6569                        } else {
    6670                            $data[$search] = $value;
  • bayarcash-wc/trunk/includes/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php

    r3235759 r3295064  
    1818     * requests to another handler.
    1919     *
    20      * @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default Handler used for normal responses
    21      * @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $sync    Handler used for synchronous responses.
     20     * @param callable(RequestInterface, array): PromiseInterface $default Handler used for normal responses
     21     * @param callable(RequestInterface, array): PromiseInterface $sync    Handler used for synchronous responses.
    2222     *
    23      * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
     23     * @return callable(RequestInterface, array): PromiseInterface Returns the composed handler.
    2424     */
    2525    public static function wrapSync(callable $default, callable $sync): callable
     
    3838     * through the StreamHandler.
    3939     *
    40      * @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default   Handler used for non-streaming responses
    41      * @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $streaming Handler used for streaming responses
     40     * @param callable(RequestInterface, array): PromiseInterface $default   Handler used for non-streaming responses
     41     * @param callable(RequestInterface, array): PromiseInterface $streaming Handler used for streaming responses
    4242     *
    43      * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
     43     * @return callable(RequestInterface, array): PromiseInterface Returns the composed handler.
    4444     */
    4545    public static function wrapStreaming(callable $default, callable $streaming): callable
  • bayarcash-wc/trunk/includes/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php

    r3235759 r3295064  
    5454
    5555            // Append a content-length header if body size is zero to match
    56             // cURL's behavior.
    57             if (0 === $request->getBody()->getSize()) {
     56            // the behavior of `CurlHandler`
     57            if (
     58                (
     59                    0 === \strcasecmp('PUT', $request->getMethod())
     60                    || 0 === \strcasecmp('POST', $request->getMethod())
     61                )
     62                && 0 === $request->getBody()->getSize()
     63            ) {
    5864                $request = $request->withHeader('Content-Length', '0');
    5965            }
  • bayarcash-wc/trunk/includes/vendor/guzzlehttp/guzzle/src/Pool.php

    r3235759 r3295064  
    8787     * @param array|\Iterator $requests Requests to send concurrently.
    8888     * @param array           $options  Passes through the options available in
    89      *                                  {@see \GuzzleHttp\Pool::__construct}
     89     *                                  {@see Pool::__construct}
    9090     *
    9191     * @return array Returns an array containing the response or an exception
  • bayarcash-wc/trunk/includes/vendor/guzzlehttp/guzzle/src/Utils.php

    r3235759 r3295064  
    8080     * The returned handler is not wrapped by any default middlewares.
    8181     *
    82      * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the best handler for the given system.
     82     * @return callable(\Psr\Http\Message\RequestInterface, array): Promise\PromiseInterface Returns the best handler for the given system.
    8383     *
    8484     * @throws \RuntimeException if no viable Handler is available.
  • bayarcash-wc/trunk/includes/vendor/guzzlehttp/guzzle/src/functions.php

    r3235759 r3295064  
    5151 * The returned handler is not wrapped by any default middlewares.
    5252 *
    53  * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the best handler for the given system.
     53 * @return callable(\Psr\Http\Message\RequestInterface, array): Promise\PromiseInterface Returns the best handler for the given system.
    5454 *
    5555 * @throws \RuntimeException if no viable Handler is available.
  • bayarcash-wc/trunk/includes/vendor/guzzlehttp/promises/CHANGELOG.md

    r3235759 r3295064  
    11# 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
    216
    317
  • bayarcash-wc/trunk/includes/vendor/guzzlehttp/psr7/CHANGELOG.md

    r3235759 r3295064  
    55The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
    66and 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
    717
    818## 2.7.0 - 2024-07-18
  • bayarcash-wc/trunk/includes/vendor/guzzlehttp/psr7/src/UploadedFile.php

    r3235759 r3295064  
    1212class UploadedFile implements UploadedFileInterface
    1313{
    14     private const ERRORS = [
    15         UPLOAD_ERR_OK,
    16         UPLOAD_ERR_INI_SIZE,
    17         UPLOAD_ERR_FORM_SIZE,
    18         UPLOAD_ERR_PARTIAL,
    19         UPLOAD_ERR_NO_FILE,
    20         UPLOAD_ERR_NO_TMP_DIR,
    21         UPLOAD_ERR_CANT_WRITE,
    22         UPLOAD_ERR_EXTENSION,
     14    private const ERROR_MAP = [
     15        UPLOAD_ERR_OK => 'UPLOAD_ERR_OK',
     16        UPLOAD_ERR_INI_SIZE => 'UPLOAD_ERR_INI_SIZE',
     17        UPLOAD_ERR_FORM_SIZE => 'UPLOAD_ERR_FORM_SIZE',
     18        UPLOAD_ERR_PARTIAL => 'UPLOAD_ERR_PARTIAL',
     19        UPLOAD_ERR_NO_FILE => 'UPLOAD_ERR_NO_FILE',
     20        UPLOAD_ERR_NO_TMP_DIR => 'UPLOAD_ERR_NO_TMP_DIR',
     21        UPLOAD_ERR_CANT_WRITE => 'UPLOAD_ERR_CANT_WRITE',
     22        UPLOAD_ERR_EXTENSION => 'UPLOAD_ERR_EXTENSION',
    2323    ];
    2424
     
    105105    private function setError(int $error): void
    106106    {
    107         if (false === in_array($error, UploadedFile::ERRORS, true)) {
     107        if (!isset(UploadedFile::ERROR_MAP[$error])) {
    108108            throw new InvalidArgumentException(
    109109                'Invalid error status for UploadedFile'
     
    138138    {
    139139        if (false === $this->isOk()) {
    140             throw new RuntimeException('Cannot retrieve stream due to upload error');
     140            throw new RuntimeException(\sprintf('Cannot retrieve stream due to upload error (%s)', self::ERROR_MAP[$this->error]));
    141141        }
    142142
  • bayarcash-wc/trunk/includes/vendor/guzzlehttp/psr7/src/Uri.php

    r3235759 r3295064  
    108108        // If IPv6
    109109        $prefix = '';
    110         if (preg_match('%^(.*://\[[0-9:a-f]+\])(.*?)$%', $url, $matches)) {
     110        if (preg_match('%^(.*://\[[0-9:a-fA-F]+\])(.*?)$%', $url, $matches)) {
    111111            /** @var array{0:string, 1:string, 2:string} $matches */
    112112            $prefix = $matches[1];
  • bayarcash-wc/trunk/includes/vendor/webimpian/bayarcash-php-sdk/CHANGELOG.md

    r3235759 r3295064  
    22
    33All notable changes to will be documented in this file.
     4
     5## 2.0.4 - 2025-04-29
     6### Added
     7- Added helper to submit manual transfers to Bayarcash.
     8- Added helper to update status manual transfer
     9
     10## 2.0.3 - 2025-02-07
     11- Fix small bug
    412
    513## 2.0.2 - 2024-01-18
  • bayarcash-wc/trunk/includes/vendor/webimpian/bayarcash-php-sdk/composer.json

    r3235759 r3295064  
    22    "name": "webimpian/bayarcash-php-sdk",
    33    "description": "Bayarcash payment gateway PHP Sdk.",
    4     "version": "2.0.2",
     4    "version": "2.0.4",
    55    "type": "sdk",
    66    "require": {
  • bayarcash-wc/trunk/includes/vendor/webimpian/bayarcash-php-sdk/src/Actions/ChecksumGenerator.php

    r3139455 r3295064  
    1313    }
    1414
     15    // Old typo version, kept for backward compatibility
    1516    public function createPaymentIntenChecksumValue($secretKey, $data)
     17    {
     18        return $this->createPaymentIntentChecksumValue($secretKey, $data);
     19    }
     20
     21    public function createPaymentIntentChecksumValue($secretKey, $data)
    1622    {
    1723        $payload = [
  • bayarcash-wc/trunk/includes/vendor/webimpian/bayarcash-php-sdk/src/Bayarcash.php

    r3235759 r3295064  
    1414        Actions\CallbackVerifications,
    1515        Actions\ChecksumGenerator,
     16        Actions\ManualBankTransfer,
    1617        MakesHttpRequests;
    1718
     
    2021     */
    2122    const FPX = 1;
     23    const MANUAL_TRANSFER = 2;
    2224    const FPX_DIRECT_DEBIT = 3;
    2325    const FPX_LINE_OF_CREDIT = 4;
  • bayarcash-wc/trunk/includes/vendor/webimpian/bayarcash-php-sdk/src/Resources/TransactionResource.php

    r3235759 r3295064  
    55class TransactionResource extends Resource
    66{
    7     public string $id;
    8     public string $updatedAt;
    9     public string $createdAt;
    10     public string $datetime;
    11     public string $payerName;
    12     public string $payerEmail;
    13     public ?string $payerTelephoneNumber;
    14     public string $orderNumber;
    15     public ?string $currency;
    16     public float $amount;
    17     public ?string $exchangeReferenceNumber;
    18     public ?string $exchangeTransactionId;
    19     public ?string $payerBankName;
    20     public string $status;
    21     public ?string $statusDescription;
    22     public ?string $returnUrl;
    23     public ?array $metadata;
    24     public ?array $payout;
    25     public array $paymentGateway;
    26     public string $portal;
    27     public array $merchant;
    28     public ?array $mandate;
     7    public ?string $id = null;
     8    public ?string $updatedAt = null;
     9    public ?string $createdAt = null;
     10    public ?string $datetime = null;
     11    public ?string $payerName = null;
     12    public ?string $payerEmail = null;
     13    public ?string $payerTelephoneNumber = null;
     14    public ?string $orderNumber = null;
     15    public ?string $currency = null;
     16    public ?float $amount = null;
     17    public ?string $exchangeReferenceNumber = null;
     18    public ?string $exchangeTransactionId = null;
     19    public ?string $payerBankName = null;
     20    public ?string $status = null;
     21    public ?string $statusDescription = null;
     22    public ?string $returnUrl = null;
     23    public ?array $metadata = null;
     24    public ?array $payout = null;
     25    public ?array $paymentGateway = null;
     26    public ?string $portal = null;
     27    public ?array $merchant = null;
     28    public ?array $mandate = null;
    2929}
  • bayarcash-wc/trunk/readme.txt

    r3295063 r3295064  
    33Tags: FPX, DuitNow, Direct Debit, DuitNow QR
    44Requires at least: 5.6
    5 Tested up to: 6.7
     5Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 4.3.7
     7Stable tag: 4.3.8
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.txt
     
    8989== Changelog ==
    9090
     91= 4.3.8 =
     92* Fixed Vue.js compatibility issues with certain themes and plugins
     93
    9194= 4.3.7 =
    9295* Fix bug
Note: See TracChangeset for help on using the changeset viewer.