File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
app/code/Magento/Braintree/Gateway/Command
dev/tests/integration/testsuite/Magento/Braintree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -113,9 +113,9 @@ public function execute(array $commandSubject)
113
113
{
114
114
/** @var \Magento\Payment\Gateway\Data\PaymentDataObjectInterface $paymentDO */
115
115
$ paymentDO = $ this ->subjectReader ->readPayment ($ commandSubject );
116
-
117
116
$ command = $ this ->getCommand ($ paymentDO );
118
- $ this ->commandPool ->get ($ command )->execute ($ commandSubject );
117
+
118
+ return $ this ->commandPool ->get ($ command )->execute ($ commandSubject );
119
119
}
120
120
121
121
/**
Original file line number Diff line number Diff line change 5
5
*/
6
6
declare (strict_types=1 );
7
7
8
- namespace Magento \Checkout \ Api ;
8
+ namespace Magento \Braintree ;
9
9
10
10
use Braintree \Result \Error ;
11
11
use Braintree \Result \Successful ;
12
12
use Braintree \Transaction ;
13
13
use Braintree \Transaction \CreditCardDetails ;
14
14
use Magento \Braintree \Gateway \Http \Client \TransactionSale ;
15
15
use Magento \Braintree \Model \Ui \ConfigProvider ;
16
+ use Magento \Checkout \Api \PaymentInformationManagementInterface ;
16
17
use Magento \Framework \Api \SearchCriteriaBuilder ;
17
18
use Magento \Framework \App \State ;
18
19
use Magento \Framework \App \Area ;
You can’t perform that action at this time.
0 commit comments