Skip to content

Commit

Permalink
Merge pull request #49 from genecommerce/release/3.4.0
Browse files Browse the repository at this point in the history
Release 3.4.0
  • Loading branch information
Paul Canning authored Nov 18, 2019
2 parents 3c8799b + 42919da commit 8d26239
Show file tree
Hide file tree
Showing 24 changed files with 1,289 additions and 104 deletions.
63 changes: 63 additions & 0 deletions Api/EnsManagementInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?php
declare(strict_types=1);

namespace Magento\Braintree\Api;

use Magento\Sales\Api\Data\OrderInterface;
use SimpleXMLElement;

/**
* Interface EnsManagementInterface
*/
interface EnsManagementInterface
{
// Kount config keys
const CONFIG_KOUNT_ID = 'payment/braintree/kount_id';
const CONFIG_ALLOWED_IPS = 'payment/braintree/kount_allowed_ips';
const CONFIG_ENVIRONMENT = 'payment/braintree/kount_environment';

// ENS type
const ENS_WORKFLOW_EDIT = 'WORKFLOW_STATUS_EDIT';

// Kount ENS response values
const RESPONSE_DECLINE = 'D';
const RESPONSE_APPROVE = 'A';
const RESPONSE_REVIEW = 'R';
const RESPONSE_ESCALATE = 'E';

/**
* @param string $ip
* @return bool
*/
public function isAllowed(string $ip): bool;

/**
* @param SimpleXMLElement $event
* @return bool
*/
public function processEvent(SimpleXMLElement $event): bool;

/**
* @param OrderInterface $order
* @return bool
*/
public function approveOrder(OrderInterface $order): bool;

/**
* @param OrderInterface $order
* @return bool
*/
public function declineOrder(OrderInterface $order): bool;

/**
* @param OrderInterface $order
* @return bool
*/
public function voidOrder(OrderInterface $order): bool;

/**
* @param OrderInterface $order
* @return bool
*/
public function refundOrder(OrderInterface $order): bool;
}
8 changes: 0 additions & 8 deletions Block/Paypal/Button.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,6 @@ public function getMerchantName()
return $this->config->getMerchantName();
}

/**
* @return string|null
*/
public function getPayeeEmail()
{
return $this->config->getPayeeEmail();
}

/**
* @return string
*/
Expand Down
18 changes: 16 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [master] - 2019-10
## [3.4.0] - 2019-11-15
### Added
- M1 to M2 Stored Card migration tool
- New `bin/magento braintree:migrate` console command to connect to your remote M1 database and potentially copy across customers
stored cards. This should be run whilst Braintree is in Production mode.
- Kount ENS webhook
- Allow "suspected fraud" orders in Magento to be accepted or decline by changing status in your Kount portal
- CVV Re-verification for Stored Cards
- This option can be enabled so that registered Customers need to provide the CVV in order to use a Stored Card
- Information about Apple Pay on-boarding
- Information about Custom Fields

### Fixed
- Level 2/3 Processing data now only used for Credit/Debit card transactions and now includes shipping tax
Expand All @@ -17,6 +23,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Bug that stopped Admins creating orders in the backend when Braintree was the only payment method
- API validation check now uses correct Store IDs when a multi-store is being used

### Removed
- Removed old PayPal `payee email` configuration option as it has been deprecated by Braintree

## [3.3.3]
### Fixed
- Updated PayPal Credit APR percentages

## [3.3.2] - 2019-09-26
### Fixed
- Level 2 / 3 Processing data should now only send shipping data if a shipping address is present.
Expand Down Expand Up @@ -102,7 +115,8 @@ a bug in core Magento 2.3.1 means that if the Vault is turned off, cards are alw
### Fixed
- Vaulted cards now work correctly

[master]: https://github.com/genecommerce/module-braintree-magento2/compare/3.3.2...master
[3.4.0]: https://github.com/genecommerce/module-braintree-magento2/compare/3.3.3...3.4.0
[3.3.3]: https://github.com/genecommerce/module-braintree-magento2/compare/3.3.2...3.3.3
[3.3.2]: https://github.com/genecommerce/module-braintree-magento2/compare/3.3.1...3.3.2
[3.3.1]: https://github.com/genecommerce/module-braintree-magento2/compare/3.3.0...3.3.1
[3.3.0]: https://github.com/genecommerce/module-braintree-magento2/compare/3.2.1...3.3.0
Expand Down
Loading

0 comments on commit 8d26239

Please sign in to comment.