Skip to content

Commit

Permalink
Release: 3.3.2
Browse files Browse the repository at this point in the history
Merge pull request #97 from pagseguro/desenvolvimento
  • Loading branch information
s2it-moscou authored Dec 13, 2017
2 parents 16d4ac5 + 6a2aac9 commit 7c72d96
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
3.3.2
- Correção no charset das requisições
- Correção do erro "Undefined class constant 'INSTALLMENT_NO_INTEREST_INSTALLMENT_QUANTITY'" ao configurar o número de parcelas no checkout transparente com cartão de crédito.

3.3.0
- Removidas funcionalidades depreciadas
- Correções e melhorias gerais
Expand Down
5 changes: 5 additions & 0 deletions source/Enum/Properties/Current.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ class Current
* Installment quantity for credit card payment
*/
const INSTALLMENT_QUANTITY = "installmentQuantity";

/**
* Installment no interest installment quantity for credit card payment
*/
const INSTALLMENT_NO_INTEREST_INSTALLMENT_QUANTITY = "noInterestInstallmentQuantity";

/**
* Installment value for credit card payment
Expand Down
10 changes: 5 additions & 5 deletions source/Library.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Library
/**
*
*/
const VERSION = "3.0.0";
const VERSION = "3.3.2";
/**
* @var
*/
Expand All @@ -55,10 +55,10 @@ class Library
final public static function initialize()
{
//Basic configuration
define('PS_BASEPATH', __DIR__);
define('PS_CONFIG_PATH', PS_BASEPATH. "/Configuration/");
define('PS_CONFIG', PS_CONFIG_PATH."Properties/Conf.xml");
define('PS_RESOURCES', PS_CONFIG_PATH."Properties/Resources.xml");
defined('PS_BASEPATH') or define('PS_BASEPATH', __DIR__);
defined('PS_CONFIG_PATH') or define('PS_CONFIG_PATH', PS_BASEPATH. "/Configuration/");
defined('PS_CONFIG') or define('PS_CONFIG', PS_CONFIG_PATH."Properties/Conf.xml");
defined('PS_RESOURCES') or define('PS_RESOURCES', PS_CONFIG_PATH."Properties/Resources.xml");
//Validates for cUrl and SimpleXml.
self::validate();
//Garbage Collection
Expand Down

0 comments on commit 7c72d96

Please sign in to comment.