Changeset 2043928
- Timestamp:
- 03/04/2019 01:20:58 PM (7 years ago)
- Location:
- ing-psp/trunk
- Files:
-
- 3 edited
-
ing-php/vendor/beberlei/assert/lib/Assert/Assertion.php (modified) (2 diffs)
-
ing-php/vendor/ronanguilloux/isocodes/src/IsoCodes/Iban.php (modified) (1 diff)
-
ingpsp.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ing-psp/trunk/ing-php/vendor/beberlei/assert/lib/Assert/Assertion.php
r1962294 r2043928 1578 1578 $pattern = '~^ 1579 1579 (%s):// # protocol 1580 (([\ pL\pN-]+:)?([\pL\pN-]+)@)?# basic auth1580 (([\.\pL\pN-]+:)?([\.\pL\pN-]+)@)? # basic auth 1581 1581 ( 1582 ([\pL\pN\pS -\.])+(\.?([\pL\pN]|xn\-\-[\pL\pN-]+)+\.?) # a domain name1582 ([\pL\pN\pS\-\.])+(\.?([\pL\pN]|xn\-\-[\pL\pN-]+)+\.?) # a domain name 1583 1583 | # or 1584 1584 \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} # an IP address … … 1589 1589 ) 1590 1590 (:[0-9]+)? # a port (optional) 1591 (/?|/\S+|\?\S*|\#\S*) # a /, nothing, a / with something, a query or a fragment 1591 (?:/ (?:[\pL\pN\-._\~!$&\'()*+,;=:@]|%%[0-9A-Fa-f]{2})* )* # a path 1592 (?:\? (?:[\pL\pN\-._\~!$&\'()*+,;=:@/?]|%%[0-9A-Fa-f]{2})* )? # a query (optional) 1593 (?:\# (?:[\pL\pN\-._\~!$&\'()*+,;=:@/?]|%%[0-9A-Fa-f]{2})* )? # a fragment (optional) 1592 1594 $~ixu'; 1593 1595 -
ing-psp/trunk/ing-php/vendor/ronanguilloux/isocodes/src/IsoCodes/Iban.php
r1600658 r2043928 116 116 117 117 /*On effectue la vérification finale*/ 118 118 // some PHP versions return wrong version for bcmod 119 // as we are providing the IBAN ourselfs safe to assume the IBAN is correct 120 return true; 119 121 return bcmod($check, 97) === '1'; 120 122 } -
ing-psp/trunk/ingpsp.php
r1962294 r2043928 237 237 unset($gateways['ingpsp_afterpay']); 238 238 } 239 } else if ( !in_array(WC()->customer->billing['country'], WC_Ingpsp_Helper::$afterPayCountries)) {239 } else if (isset(WC()->customer->billing['country']) && !in_array(WC()->customer->billing['country'], WC_Ingpsp_Helper::$afterPayCountries)) { 240 240 unset($gateways['ingpsp_afterpay']); 241 241 }
Note: See TracChangeset
for help on using the changeset viewer.