Plugin Directory

Changeset 3431562


Ignore:
Timestamp:
01/03/2026 10:33:11 AM (3 months ago)
Author:
edward_plainview
Message:

MCC v2.157 update

Location:
mycryptocheckout/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • mycryptocheckout/trunk/MyCryptoCheckout.php

    r3431091 r3431562  
    88Plugin URI:         https://mycryptocheckout.com
    99Text Domain:        mycryptocheckout
    10 Version:            2.156
     10Version:            2.157
    1111WC tested up to:    10.4.3
    1212License:            GPLv3
     
    8080namespace
    8181{
    82     define( 'MYCRYPTOCHECKOUT_PLUGIN_VERSION', 2.156 );
     82    define( 'MYCRYPTOCHECKOUT_PLUGIN_VERSION', 2.157 );
    8383    /**
    8484        @brief      Return the instance of MCC.
  • mycryptocheckout/trunk/composer.lock

    r3431091 r3431562  
    488488        {
    489489            "name": "mycryptocheckout/api",
    490             "version": "2.22",
     490            "version": "2.23",
    491491            "source": {
    492492                "type": "git",
    493493                "url": "https://bitbucket.org/mycryptocheckout/api.git",
    494                 "reference": "4244cb5c785b807dde3b4f09ab86307640de2567"
    495             },
    496             "dist": {
    497                 "type": "zip",
    498                 "url": "https://bitbucket.org/mycryptocheckout/api/get/4244cb5c785b807dde3b4f09ab86307640de2567.zip",
    499                 "reference": "4244cb5c785b807dde3b4f09ab86307640de2567",
     494                "reference": "f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c"
     495            },
     496            "dist": {
     497                "type": "zip",
     498                "url": "https://bitbucket.org/mycryptocheckout/api/get/f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c.zip",
     499                "reference": "f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c",
    500500                "shasum": ""
    501501            },
     
    517517            "support": {
    518518                "issues": "https://bitbucket.org/mycryptocheckout/api/issues",
    519                 "source": "https://bitbucket.org/mycryptocheckout/api/src/4244cb5c785b807dde3b4f09ab86307640de2567/?at=2.22"
    520             },
    521             "time": "2026-01-02T12:54:42+00:00"
     519                "source": "https://bitbucket.org/mycryptocheckout/api/src/f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c/?at=2.23"
     520            },
     521            "time": "2026-01-03T10:15:20+00:00"
    522522        },
    523523        {
  • mycryptocheckout/trunk/readme.txt

    r3431091 r3431562  
    55Requires at least: 6.2
    66Requires PHP: 8.0
    7 Stable tag: 2.156
     7Stable tag: 2.157
    88Tags: bitcoin, ethereum, payments, woocommerce, bitcoin woocommerce
    99Tested up to: 6.9
     
    257257== Changelog ==
    258258
     259= 2.157 =
     260
     261* Code: Cloudflare IP check updated. SDK update.
     262
    259263= 2.156 =
    260264
  • mycryptocheckout/trunk/vendor/composer/installed.json

    r3431091 r3431562  
    484484        {
    485485            "name": "mycryptocheckout/api",
    486             "version": "2.22",
    487             "version_normalized": "2.22.0.0",
     486            "version": "2.23",
     487            "version_normalized": "2.23.0.0",
    488488            "source": {
    489489                "type": "git",
    490490                "url": "https://bitbucket.org/mycryptocheckout/api.git",
    491                 "reference": "4244cb5c785b807dde3b4f09ab86307640de2567"
    492             },
    493             "dist": {
    494                 "type": "zip",
    495                 "url": "https://bitbucket.org/mycryptocheckout/api/get/4244cb5c785b807dde3b4f09ab86307640de2567.zip",
    496                 "reference": "4244cb5c785b807dde3b4f09ab86307640de2567",
    497                 "shasum": ""
    498             },
    499             "time": "2026-01-02T12:54:42+00:00",
     491                "reference": "f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c"
     492            },
     493            "dist": {
     494                "type": "zip",
     495                "url": "https://bitbucket.org/mycryptocheckout/api/get/f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c.zip",
     496                "reference": "f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c",
     497                "shasum": ""
     498            },
     499            "time": "2026-01-03T10:15:20+00:00",
    500500            "type": "library",
    501501            "installation-source": "dist",
     
    516516            "support": {
    517517                "issues": "https://bitbucket.org/mycryptocheckout/api/issues",
    518                 "source": "https://bitbucket.org/mycryptocheckout/api/src/4244cb5c785b807dde3b4f09ab86307640de2567/?at=2.22"
     518                "source": "https://bitbucket.org/mycryptocheckout/api/src/f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c/?at=2.23"
    519519            },
    520520            "install-path": "../mycryptocheckout/api"
  • mycryptocheckout/trunk/vendor/composer/installed.php

    r3431091 r3431562  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '7a8835b04c81d0b5bafb7c03ab84cab8c9df308e',
     6        'reference' => '6d0f49d04614bdfb719fd8f5241ca9eb8678657c',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-master',
    1515            'version' => 'dev-master',
    16             'reference' => '7a8835b04c81d0b5bafb7c03ab84cab8c9df308e',
     16            'reference' => '6d0f49d04614bdfb719fd8f5241ca9eb8678657c',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
     
    9393        ),
    9494        'mycryptocheckout/api' => array(
    95             'pretty_version' => '2.22',
    96             'version' => '2.22.0.0',
    97             'reference' => '4244cb5c785b807dde3b4f09ab86307640de2567',
     95            'pretty_version' => '2.23',
     96            'version' => '2.23.0.0',
     97            'reference' => 'f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c',
    9898            'type' => 'library',
    9999            'install_path' => __DIR__ . '/../mycryptocheckout/api',
  • mycryptocheckout/trunk/vendor/mycryptocheckout/api/changelog.txt

    r3431091 r3431562  
     12.23        20250103
     2
     3Fixed CF IP validity check.
     4
    152.22        20260102
    26
  • mycryptocheckout/trunk/vendor/mycryptocheckout/api/src/v2/API.php

    r3431091 r3431562  
    311311        // Cloudflare adds a header with the visitor's real IP, which is what we need to check.
    312312        if ( isset( $_SERVER[ 'HTTP_CF_CONNECTING_IP' ] ) )
    313             if ( $this->is_cloudflare_ip() )
     313        {
     314            if ( $this->is_cloudflare_ip( $remote_ip ) )
    314315                $remote_ip = $_SERVER[ 'HTTP_CF_CONNECTING_IP' ];
    315316            else
    316                 throw new Exception( sprintf( 'Spoofed IP address generated from %s', $remote_ip ) );
     317                throw new Exception( sprintf( 'Spoofed IP address %s generated from %s', $_SERVER[ 'HTTP_CF_CONNECTING_IP' ] , $remote_ip ) );
     318        }
    317319
    318320        if ( ! in_array( $remote_ip, $allowed_ips ) )
  • mycryptocheckout/trunk/vendor/plainview/sdk/wordpress/traits/debug.php

    r3419521 r3431562  
    117117            if ( is_string( $arg ) )
    118118                $args[ $index ] = htmlspecialchars( $arg );
    119         }
    120         foreach( $args as $index => $arg )
    121         {
    122             if ( is_array( $arg ) || is_object( $arg ) ) {
    123                 $args[ $index ] = sprintf( '<pre><code>%s</code></pre>', htmlspecialchars( var_export( $arg, true ) ) );
    124             } else if ( is_string( $arg ) ) {
    125                 $args[ $index ] = htmlspecialchars( $arg );
    126             }
    127119        }
    128120
Note: See TracChangeset for help on using the changeset viewer.