Plugin Directory

Changeset 3071758


Ignore:
Timestamp:
04/16/2024 03:54:31 PM (2 years ago)
Author:
payeye
Message:

New release

Location:
e-payeye-payments/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • e-payeye-payments/trunk/readme.txt

    r3071629 r3071758  
    2222
    2323== Changelog ==
    24 = 1.0.0 - 2024-02-05 =
     24= 1.0.0 - 2024-04-016 =
    2525* Added new PayEye lib with support for API v2
    2626* Added new On Click feature with settings
  • e-payeye-payments/trunk/src/App.php

    r3071629 r3071758  
    159159    public static function isFirstStart(): bool
    160160    {
    161         $options = get_option('woocommerce_payeye_settings', false);
    162         if (!is_array($options)) {
    163             return true;
    164         }
    165         foreach ($options as $optionName => $optionValue) {
    166             if (!empty($optionValue)) {
    167                 return false;
    168             }
     161        $options = get_option(PayEyeGateway::OPTION_MATCH_SELECT, false);
     162        if (is_array($options)) {
     163            return false;
    169164        }
    170165        return true;
  • e-payeye-payments/trunk/src/Gateway/PayEyeGateway.php

    r3071629 r3071758  
    3636    public const API_VERSION = 2;
    3737
    38     private const OPTION_MATCH_SELECT = 'payeye_match_select';
     38    public const OPTION_MATCH_SELECT = 'payeye_match_select';
    3939
    4040    /** @var array */
Note: See TracChangeset for help on using the changeset viewer.