Changeset 3071758
- Timestamp:
- 04/16/2024 03:54:31 PM (2 years ago)
- Location:
- e-payeye-payments/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (1 diff)
-
src/App.php (modified) (1 diff)
-
src/Gateway/PayEyeGateway.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
e-payeye-payments/trunk/readme.txt
r3071629 r3071758 22 22 23 23 == Changelog == 24 = 1.0.0 - 2024-0 2-05=24 = 1.0.0 - 2024-04-016 = 25 25 * Added new PayEye lib with support for API v2 26 26 * Added new On Click feature with settings -
e-payeye-payments/trunk/src/App.php
r3071629 r3071758 159 159 public static function isFirstStart(): bool 160 160 { 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; 169 164 } 170 165 return true; -
e-payeye-payments/trunk/src/Gateway/PayEyeGateway.php
r3071629 r3071758 36 36 public const API_VERSION = 2; 37 37 38 p rivateconst OPTION_MATCH_SELECT = 'payeye_match_select';38 public const OPTION_MATCH_SELECT = 'payeye_match_select'; 39 39 40 40 /** @var array */
Note: See TracChangeset
for help on using the changeset viewer.