Plugin Directory

Changeset 2143196

Timestamp:
08/21/2019 02:21:05 PM (5 years ago)
Author:
wido
Message:

Update code for pre-release

Location:
mollie-payments-for-woocommerce/trunk
Files:
120 added
13 edited

Legend:

Unmodified
Added
Removed
  • mollie-payments-for-woocommerce/trunk/assets/images/applepay.svg

    r2127078 r2143196  
    11<?xml version="1.0" encoding="UTF-8"?>
    2 <svg width="165.52px" height="105.97px" enable-background="new 0 0 165.52107 105.9651" version="1.1" viewBox="0 0 165.52107 105.9651" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
     2<svg width="" enable-background="new 0 0 165.52107 105.9651" version="1.1" viewBox="0 0 165.52107 105.9651" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
    33    <path d="m150.7 0h-135.87c-0.5659 0-1.1328 0-1.6977 0.0033-0.47751 0.0034-0.95391 0.0087-1.4303 0.0217-1.039 0.0281-2.0869 0.0894-3.1129 0.2738-1.0424 0.1876-2.0124 0.4936-2.9587 0.9754-0.9303 0.4731-1.782 1.0919-2.5201 1.8303-0.73841 0.7384-1.3572 1.5887-1.8302 2.52-0.4819 0.9463-0.7881 1.9166-0.9744 2.9598-0.18539 1.0263-0.2471 2.074-0.2751 3.1119-0.0128 0.4764-0.01829 0.9528-0.0214 1.4291-0.0033 0.5661-0.0022 1.1318-0.0022 1.6989v76.318c0 0.5671-0.0011 1.1318 0.0022 1.699 0.00311 0.4763 0.0086 0.9527 0.0214 1.4291 0.028 1.037 0.08971 2.0847 0.2751 3.1107 0.1863 1.0436 0.4925 2.0135 0.9744 2.9599 0.473 0.9313 1.0918 1.7827 1.8302 2.52 0.73809 0.7396 1.5898 1.3583 2.5201 1.8302 0.9463 0.4831 1.9163 0.7892 2.9587 0.9767 1.026 0.1832 2.0739 0.2456 3.1129 0.2737 0.4764 0.0108 0.9528 0.0172 1.4303 0.0194 0.56489 0.0044 1.1318 0.0044 1.6977 0.0044h135.87c0.5649 0 1.1318 0 1.6966-0.0044 0.47641-0.0022 0.95282-0.0086 1.4314-0.0194 1.0368-0.0281 2.0845-0.0905 3.113-0.2737 1.041-0.1875 2.0112-0.4936 2.9576-0.9767 0.9313-0.4719 1.7805-1.0906 2.5201-1.8302 0.7372-0.7373 1.356-1.5887 1.8302-2.52 0.48299-0.9464 0.78889-1.9163 0.97429-2.9599 0.1855-1.026 0.2457-2.0737 0.2738-3.1107 0.013-0.4764 0.01941-0.9528 0.02161-1.4291 0.00439-0.5672 0.00439-1.1319 0.00439-1.699v-76.318c0-0.5671 0-1.1328-0.00439-1.6989-0.0022-0.4763-0.00861-0.9527-0.02161-1.4291-0.02811-1.0379-0.0883-2.0856-0.2738-3.1119-0.18539-1.0432-0.4913-2.0135-0.97429-2.9598-0.47421-0.9313-1.093-1.7816-1.8302-2.52-0.73961-0.7384-1.5888-1.3572-2.5201-1.8303-0.9464-0.4818-1.9166-0.7878-2.9576-0.9754-1.0285-0.1844-2.0762-0.2457-3.113-0.2738-0.47858-0.013-0.95499-0.0183-1.4314-0.0217-0.56478-0.0033-1.1317-0.0033-1.6966-0.0033z"/>
    44    <path d="m150.7 3.532l1.6715 0.0032c0.4528 0.0032 0.90561 0.0081 1.3609 0.0205 0.79201 0.0214 1.7185 0.0643 2.5821 0.2191 0.7507 0.1352 1.3803 0.3408 1.9845 0.6484 0.5965 0.3031 1.143 0.7003 1.6202 1.1768 0.479 0.4797 0.87671 1.0271 1.1838 1.6302 0.30589 0.5995 0.51019 1.2261 0.64459 1.9823 0.1544 0.8542 0.1971 1.7832 0.21881 2.5801 0.01219 0.4498 0.01819 0.8996 0.0204 1.3601 0.00429 0.5569 0.0042 1.1135 0.0042 1.6715v76.318c0 0.558 9e-5 1.1136-0.0043 1.6824-0.00211 0.4497-0.0081 0.8995-0.0204 1.3501-0.02161 0.7957-0.0643 1.7242-0.2206 2.5885-0.13251 0.7458-0.3367 1.3725-0.64429 1.975-0.30621 0.6016-0.70331 1.1484-1.1802 1.6251-0.47989 0.48-1.0246 0.876-1.6282 1.1819-0.5997 0.3061-1.2282 0.51151-1.9715 0.6453-0.88109 0.157-1.8464 0.2002-2.5734 0.2199-0.4574 0.0103-0.9126 0.01649-1.3789 0.0187-0.55571 0.0043-1.1134 0.0042-1.6692 0.0042h-135.87-0.0221c-0.5494 0-1.0999 0-1.6593-0.0043-0.4561-0.00211-0.9112-0.0082-1.3512-0.0182-0.7436-0.0201-1.7095-0.0632-2.5834-0.2193-0.74969-0.1348-1.3782-0.3402-1.9858-0.6503-0.59789-0.3032-1.1422-0.6988-1.6223-1.1797-0.4764-0.4756-0.8723-1.0207-1.1784-1.6232-0.3064-0.6019-0.5114-1.2305-0.64619-1.9852-0.15581-0.8626-0.19861-1.7874-0.22-2.5777-0.01221-0.4525-0.01731-0.9049-0.02021-1.3547l-0.0022-1.3279 1e-4 -0.3506v-76.318l-1e-4 -0.3506 0.0021-1.3251c3e-3 -0.4525 0.0081-0.9049 0.02031-1.357 0.02139-0.7911 0.06419-1.7163 0.22129-2.5861 0.1336-0.7479 0.3385-1.3765 0.6465-1.9814 0.3037-0.5979 0.7003-1.1437 1.1792-1.6225 0.477-0.4772 1.0231-0.8739 1.6248-1.1799 0.6011-0.3061 1.2308-0.5116 1.9805-0.6465 0.8638-0.1552 1.7909-0.198 2.5849-0.2195 0.4526-0.0123 0.9052-0.0172 1.3544-0.0203l1.6771-0.0033h135.87" fill="#fff"/>
  • mollie-payments-for-woocommerce/trunk/includes/mollie-api-php/vendor/autoload.php

    r2127078 r2143196  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInitf833268ed2646da8e853833e738212e8::getLoader();
     7return ComposerAutoloaderInit::getLoader();
  • mollie-payments-for-woocommerce/trunk/includes/mollie-api-php/vendor/composer/autoload_real.php

    r2127078 r2143196  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitf833268ed2646da8e853833e738212e8
     5class ComposerAutoloaderInit
    66{
    77    private static $loader;
     
    2020        }
    2121
    22         spl_autoload_register(array('ComposerAutoloaderInitf833268ed2646da8e853833e738212e8', 'loadClassLoader'), true, true);
     22        spl_autoload_register(array('ComposerAutoloaderInit', 'loadClassLoader'), true, true);
    2323        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    24         spl_autoload_unregister(array('ComposerAutoloaderInitf833268ed2646da8e853833e738212e8', 'loadClassLoader'));
     24        spl_autoload_unregister(array('ComposerAutoloaderInit', 'loadClassLoader'));
    2525
    2626        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    2828            require_once __DIR__ . '/autoload_static.php';
    2929
    30             call_user_func(\Composer\Autoload\ComposerStaticInitf833268ed2646da8e853833e738212e8::getInitializer($loader));
     30            call_user_func(\Composer\Autoload\ComposerStaticInit::getInitializer($loader));
    3131        } else {
    3232            $map = require __DIR__ . '/autoload_namespaces.php';
     
    4949
    5050        if ($useStaticLoader) {
    51             $includeFiles = Composer\Autoload\ComposerStaticInitf833268ed2646da8e853833e738212e8::$files;
     51            $includeFiles = Composer\Autoload\ComposerStaticInit::$files;
    5252        } else {
    5353            $includeFiles = require __DIR__ . '/autoload_files.php';
    5454        }
    5555        foreach ($includeFiles as $fileIdentifier => $file) {
    56             composerRequiref833268ed2646da8e853833e738212e8($fileIdentifier, $file);
     56            composerRequire($fileIdentifier, $file);
    5757        }
    5858
     
    6161}
    6262
    63 function composerRequiref833268ed2646da8e853833e738212e8($fileIdentifier, $file)
     63function composerRequire($fileIdentifier, $file)
    6464{
    6565    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • mollie-payments-for-woocommerce/trunk/includes/mollie-api-php/vendor/composer/autoload_static.php

    r2127078 r2143196  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInitf833268ed2646da8e853833e738212e8
     7class ComposerStaticInit
    88{
    99    public static $files = array (
     
    230230    {
    231231        return \Closure::bind(function () use ($loader) {
    232             $loader->prefixLengthsPsr4 = ComposerStaticInitf833268ed2646da8e853833e738212e8::$prefixLengthsPsr4;
    233             $loader->prefixDirsPsr4 = ComposerStaticInitf833268ed2646da8e853833e738212e8::$prefixDirsPsr4;
    234             $loader->classMap = ComposerStaticInitf833268ed2646da8e853833e738212e8::$classMap;
     232            $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4;
     233            $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4;
     234            $loader->classMap = ComposerStaticInit::$classMap;
    235235
    236236        }, null, ClassLoader::class);
  • mollie-payments-for-woocommerce/trunk/includes/mollie-api-php/vendor/composer/ca-bundle/README.md

    r1920321 r2143196  
    2828-----------
    2929
    30 # `Composer\CaBundle\CaBundle`
     30# `Composer\CaBundle\CaBundle`
    3131
    3232- `CaBundle::getSystemCaRootBundlePath()`: Returns the system CA bundle path, or a path to the bundled one as fallback
    3333- `CaBundle::getBundledCaBundlePath()`: Returns the path to the bundled CA file
    34 - `CaBundle::validateCaFile($filename)`: Validates a CA file using opensl_x509_parse only if it is safe to use
     34- `CaBundle::validateCaFile($filename)`: Validates a CA file using opensl_x509_parse only if it is safe to use
    3535- `CaBundle::isOpensslParseSafe()`: Test if it is safe to use the PHP function openssl_x509_parse()
    3636- `CaBundle::reset()`: Resets the static caches
    3737
    3838
    39 ## To use with curl
     39## To use with curl
    4040
    4141```php
     
    4343
    4444$caPathOrFile = \Composer\CaBundle\CaBundle::getSystemCaRootBundlePath();
    45 if (is_dir($caPathOrFile) || (is_link($caPathOrFile) && is_dir(readlink($caPathOrFile)))) {
     45if (is_dir($caPathOrFile)) {
    4646    curl_setopt($curl, CURLOPT_CAPATH, $caPathOrFile);
    4747} else {
     
    5252```
    5353
    54 ## To use with php streams
     54## To use with php streams
    5555
    5656```php
     
    6262
    6363$caPathOrFile = \Composer\CaBundle\CaBundle::getSystemCaRootBundlePath();
    64 if (is_dir($caPathOrFile) || (is_link($caPathOrFile) && is_dir(readlink($caPathOrFile)))) {
     64if (is_dir($caPathOrFile)) {
    6565    $opts['ssl']['capath'] = $caPathOrFile;
    6666} else {
     
    7272```
    7373
    74 ## To use with Guzzle
     74## To use with Guzzle
    7575
    7676```php
  • mollie-payments-for-woocommerce/trunk/includes/mollie-api-php/vendor/composer/ca-bundle/composer.json

    r1955126 r2143196  
    2525        "ext-openssl": "*",
    2626        "ext-pcre": "*",
    27         "php": "^5.3.2 || ^7.0"
     27        "php": "^5.3.2 || ^7.0"
    2828    },
    2929    "require-dev": {
    30         "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5",
     30        "phpunit/phpunit": "^4.8.35 || ^5.7 || ",
    3131        "psr/log": "^1.0",
    3232        "symfony/process": "^2.5 || ^3.0 || ^4.0"
  • mollie-payments-for-woocommerce/trunk/includes/mollie-api-php/vendor/composer/ca-bundle/res/cacert.pem

    r2034079 r2143196  
    22## Bundle of CA Root Certificates
    33##
    4 ## Certificate data from Mozilla as of: Wed Jan 23 04:12:09 2019 GMT
     4## Certificate data from Mozilla as of: Wed :12:09 2019 GMT
    55##
    66## This is a bundle of X.509 certificates of public Certificate Authorities
     
    1515##
    1616## Conversion done with mk-ca-bundle.pl version 1.27.
    17 ## SHA256: 18372117493b5b7ec006c31d966143fc95a9464a2b5f8d5188e23c5557b2292d
     17## SHA256:
    1818##
    1919
     
    34003400E4yBFxgX0b3xdxA61GU5wSesVywlVP+i2k+KYTlerj1KjL0=
    34013401-----END CERTIFICATE-----
     3402
     3403
     3404
     3405
     3406
     3407
     3408
     3409
     3410
     3411
     3412
     3413
     3414
     3415
     3416
     3417
     3418
     3419
     3420
     3421
     3422
     3423
     3424
     3425
     3426
     3427
     3428
     3429
     3430
     3431
     3432
     3433
     3434
     3435
     3436
     3437
     3438
     3439
     3440
     3441
     3442
     3443
     3444
     3445
     3446
     3447
     3448
     3449
     3450
     3451
     3452
     3453
     3454
     3455
     3456
     3457
     3458
     3459
     3460
     3461
     3462
     3463
     3464
     3465
     3466
     3467
     3468
     3469
     3470
     3471
     3472
     3473
     3474
     3475
     3476
     3477
     3478
     3479
     3480
     3481
     3482
     3483
     3484
     3485
     3486
     3487
     3488
     3489
     3490
     3491
     3492
     3493
     3494
     3495
     3496
     3497
     3498
     3499
     3500
     3501
     3502
     3503
     3504
     3505
     3506
     3507
  • mollie-payments-for-woocommerce/trunk/includes/mollie-api-php/vendor/composer/ca-bundle/src/CaBundle.php

    r1955126 r2143196  
    6767            return self::$caPath;
    6868        }
     69
     70
    6971
    7072        // If SSL_CERT_FILE env variable points to a valid certificate/bundle, use that.
    7173        // This mimics how OpenSSL uses the SSL_CERT_FILE env variable.
    72         $envCertFile = getenv('SSL_CERT_FILE');
    73         if ($envCertFile && is_readable($envCertFile) && static::validateCaFile($envCertFile, $logger)) {
    74             return self::$caPath = $envCertFile;
    75         }
     74        $caBundlePaths[] = getenv('SSL_CERT_FILE');
    7675
    7776        // If SSL_CERT_DIR env variable points to a valid certificate/bundle, use that.
    7877        // This mimics how OpenSSL uses the SSL_CERT_FILE env variable.
    79         $envCertDir = getenv('SSL_CERT_DIR');
    80         if ($envCertDir && is_dir($envCertDir) && is_readable($envCertDir)) {
    81             return self::$caPath = $envCertDir;
    82         }
    83 
    84         $configured = ini_get('openssl.cafile');
    85         if ($configured && strlen($configured) > 0 && is_readable($configured) && static::validateCaFile($configured, $logger)) {
    86             return self::$caPath = $configured;
    87         }
    88 
    89         $configured = ini_get('openssl.capath');
    90         if ($configured && is_dir($configured) && is_readable($configured)) {
    91             return self::$caPath = $configured;
    92         }
    93 
    94         $caBundlePaths = array(
     78        $caBundlePaths[] = getenv('SSL_CERT_DIR');
     79
     80        $caBundlePaths[] = ini_get('openssl.cafile');
     81        $caBundlePaths[] = ini_get('openssl.capath');
     82
     83        $otherLocations = array(
    9584            '/etc/pki/tls/certs/ca-bundle.crt', // Fedora, RHEL, CentOS (ca-certificates package)
    9685            '/etc/ssl/certs/ca-certificates.crt', // Debian, Ubuntu, Gentoo, Arch Linux (ca-certificates package)
     
    10695        );
    10796
     97
     98
     99
     100
     101
     102
    108103        foreach ($caBundlePaths as $caBundle) {
    109             if (@is_readable($caBundle) && static::validateCaFile($caBundle, $logger)) {
     104            if (le($caBundle, $logger)) {
    110105                return self::$caPath = $caBundle;
    111106            }
    112         }
    113 
    114         foreach ($caBundlePaths as $caBundle) {
    115             $caBundle = dirname($caBundle);
    116             if (@is_dir($caBundle) && glob($caBundle.'/*')) {
     107
     108            if (self::caDirUsable($caBundle)) {
    117109                return self::$caPath = $caBundle;
    118110            }
     
    306298        self::$useOpensslParse = null;
    307299    }
     300
     301
     302
     303
     304
     305
     306
     307
     308
     309
    308310}
  • mollie-payments-for-woocommerce/trunk/includes/mollie-api-php/vendor/composer/installed.json

    r2127078 r2143196  
    22    {
    33        "name": "composer/ca-bundle",
    4         "version": "1.1.4",
    5         "version_normalized": "1.1.4.0",
     4        "version": "1.",
     5        "version_normalized": "1..0",
    66        "source": {
    77            "type": "git",
    88            "url": "https://github.com/composer/ca-bundle.git",
    9             "reference": "558f321c52faeb4828c03e7dc0cfe39a09e09a2d"
    10         },
    11         "dist": {
    12             "type": "zip",
    13             "url": "https://api.github.com/repos/composer/ca-bundle/zipball/558f321c52faeb4828c03e7dc0cfe39a09e09a2d",
    14             "reference": "558f321c52faeb4828c03e7dc0cfe39a09e09a2d",
     9            "reference": ""
     10        },
     11        "dist": {
     12            "type": "zip",
     13            "url": "https://api.github.com/repos/composer/ca-bundle/zipball/",
     14            "reference": "",
    1515            "shasum": ""
    1616        },
     
    1818            "ext-openssl": "*",
    1919            "ext-pcre": "*",
    20             "php": "^5.3.2 || ^7.0"
    21         },
    22         "require-dev": {
    23             "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5",
     20            "php": "^5.3.2 || ^7.0"
     21        },
     22        "require-dev": {
     23            "phpunit/phpunit": "^4.8.35 || ^5.7 || ",
    2424            "psr/log": "^1.0",
    2525            "symfony/process": "^2.5 || ^3.0 || ^4.0"
    2626        },
    27         "time": "2019-01-28T09:30:10+00:00",
     27        "time": "2019-0+00:00",
    2828        "type": "library",
    2929        "extra": {
  • mollie-payments-for-woocommerce/trunk/includes/mollie/wc/gateway/applepay.php

    r2127227 r2143196  
    1414    public function __construct()
    1515    {
    16         // TODO Check if its support refund?
    1716        $this->supports = [
    1817            'products',
  • mollie-payments-for-woocommerce/trunk/includes/mollie/wc/plugin.php

    r2127843 r2143196  
    88    const PLUGIN_ID      = 'mollie-payments-for-woocommerce';
    99    const PLUGIN_TITLE   = 'Mollie Payments for WooCommerce';
    10     const PLUGIN_VERSION = '5.2.1';
     10    const PLUGIN_VERSION = '5.';
    1111
    1212    const DB_VERSION     = '1.0';
     
    4747        'Mollie_WC_Gateway_Giftcard',
    4848        'Mollie_WC_Gateway_Applepay',
     49
    4950    );
    5051
  • mollie-payments-for-woocommerce/trunk/mollie-payments-for-woocommerce.php

    r2127843 r2143196  
    44 * Plugin URI: https://www.mollie.com
    55 * Description: Accept payments in WooCommerce with the official Mollie plugin
    6  * Version: 5.2.1
     6 * Version: 5.
    77 * Author: Mollie
    88 * Author URI: https://www.mollie.com
     
    1313 * License: GPLv2 or later
    1414 * WC requires at least: 2.2.0
    15  * WC tested up to: 3.6
     15 * WC tested up to: 3.
    1616 */
    1717
  • mollie-payments-for-woocommerce/trunk/readme.txt

    r2127843 r2143196  
    44Requires at least: 3.8
    55Tested up to: 5.2
    6 Stable tag: 5.2.1
     6Stable tag: 5.
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    182182== Changelog ==
    183183
     184
     185
     186
     187
     188
     189
    184190= 5.2.1 - 24-07-2019 =
    185191
Note: See TracChangeset for help on using the changeset viewer.