-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #283 from alma/release/v5.7.0
Release v5.7.0
- Loading branch information
Showing
23 changed files
with
456 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
- Tested up to Wordpress: 6.6.1 | ||
- Tested up to Woocommerce: 9.2.3 | ||
- Requires PHP: 5.6 | ||
- Stable tag: 5.6.0 | ||
- Stable tag: 5.7.0 | ||
- License: GPLv3 | ||
- License URI: https://www.gnu.org/licenses/gpl-3.0.html | ||
- Support: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
/** | ||
* SecurityHelperBuilder | ||
* | ||
* @package Alma\Woocommerce\Builders\Helpers | ||
*/ | ||
|
||
namespace Alma\Woocommerce\Builders\Helpers; | ||
|
||
use Alma\Woocommerce\Helpers\ProductHelper; | ||
use Alma\Woocommerce\Helpers\SecurityHelper; | ||
use Alma\Woocommerce\Traits\BuilderTrait; | ||
|
||
if ( ! defined( 'ABSPATH' ) ) { | ||
die( 'Not allowed' ); // Exit if accessed directly. | ||
} | ||
|
||
/** | ||
* Class SecurityHelperBuilder | ||
* | ||
* @package Alma\Woocommerce\Builders\Helpers | ||
*/ | ||
class SecurityHelperBuilder { | ||
|
||
use BuilderTrait; | ||
|
||
/** | ||
* Get the instance of the SecurityHelper class | ||
* | ||
* @return SecurityHelper | ||
*/ | ||
public function get_instance() { | ||
return new SecurityHelper( | ||
$this->get_alma_logger(), | ||
$this->get_payment_validator() | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
/** | ||
* AlmaInvalidSignatureException. | ||
* | ||
* @since 5.7.0 | ||
* | ||
* @package Alma_Gateway_For_Woocommerce | ||
* @subpackage Alma_Gateway_For_Woocommerce/includes/Exceptions | ||
* @namespace Alma\Woocommerce\Exceptions | ||
*/ | ||
|
||
namespace Alma\Woocommerce\Exceptions; | ||
|
||
/** | ||
* Class AlmaInvalidSignatureException. | ||
*/ | ||
class AlmaInvalidSignatureException extends AlmaException { | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
/** | ||
* PayMoreThanFourGateway. | ||
* | ||
* @since 5.0.0 | ||
* | ||
* @package Alma_Gateway_For_Woocommerce | ||
* @subpackage Alma_Gateway_For_Woocommerce//includes/Gateways/Standard | ||
* @namespace Alma\Woocommerce\Gateways\StandardGateway | ||
*/ | ||
|
||
namespace Alma\Woocommerce\Gateways\Inpage; | ||
|
||
if ( ! defined( 'ABSPATH' ) ) { | ||
exit; | ||
} | ||
|
||
use Alma\Woocommerce\Gateways\AlmaPaymentGateway; | ||
use Alma\Woocommerce\Helpers\ConstantsHelper; | ||
use Alma\Woocommerce\Traits\InPageGatewayTrait; | ||
|
||
/** | ||
* PayMoreThanFourGateway | ||
*/ | ||
class PayMoreThanFourGateway extends AlmaPaymentGateway { | ||
|
||
use InPageGatewayTrait; | ||
|
||
/** | ||
* Get the gateway id. | ||
* | ||
* @return string | ||
*/ | ||
public function get_gateway_id() { | ||
return ConstantsHelper::GATEWAY_ID_IN_PAGE_MORE_THAN_FOUR; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.