Skip to content

Commit

Permalink
Merge pull request #89 from checkout/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
nicolas-maalouf-cko authored Jul 10, 2017
2 parents 1314e6a + 3488de6 commit c2dda9e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Or require the Checkout.com package inside the composer.json of your project:
```
"require": {
"php": ">=5.2.4",
"checkout/checkout-php-api": "1.2.8"
"checkout/checkout-php-api": "1.2.9"
},
```
__Manually__
Expand Down
2 changes: 1 addition & 1 deletion com/checkout/packages/CheckoutApi/Client/Constant.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ final class CheckoutApi_Client_Constant
const VERSION = 'v2';
const STATUS_CAPTURE = 'Captured';
const STATUS_REFUND = 'Refunded';
const LIB_VERSION = 'v1.2.8';
const LIB_VERSION = 'v1.2.9';
}
2 changes: 1 addition & 1 deletion com/checkout/packages/CheckoutApi/Lib/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static function isFloat($string)
*/
public static function isValidEmail($email)
{
$emailReg = "/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$/";
$emailReg = "/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,6})$/";
$email = strtolower($email);
return preg_match ($emailReg,$email);
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "checkout/checkout-php-api",
"description": "Checkout PHP API Library",
"homepage": "https://github.com/checkout/checkout-php-library",
"version": "1.2.8",
"version": "1.2.9",
"type": "library",
"license": "MIT",
"keywords": ["checkout.com","payment","gateway","online payment","checkoutcom","GW3","CKO"],
Expand Down

0 comments on commit c2dda9e

Please sign in to comment.