Skip to content

Commit bc5e114

Browse files
committed
AC-13520: Transaction Authorization Not Displayed in Transaction Tab After PayPal Smart Button Order
Updated `sales_payment_transaction` table `_beforeSave` method. Removed force setting authorization transaction type to capture.
1 parent b90bf99 commit bc5e114

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

app/code/Magento/Paypal/Test/Mftf/Test/PlaceOrderUsingPaypalExpressWithPaymentActionOrderTest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<testCaseId value="AC-6159"/>
1818
<group value="3rd_party_integration"/>
1919
<group value="paypalExpress"/>
20-
<group value="pr_exclude"/>
2120
</annotations>
2221
<before>
2322
<createData entity="SimpleProduct" stepKey="simpleProduct"/>

app/code/Magento/Paypal/Test/Mftf/Test/StorefrontLoginForPaypalExpressCheckoutWithSmartButtonProductPageTest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<severity value="CRITICAL"/>
1818
<testCaseId value="AC-6137"/>
1919
<group value="3rd_party_integration"/>
20-
<group value="pr_exclude"/>
2120
</annotations>
2221
<before>
2322
<createData entity="SimpleProduct" stepKey="simpleProduct"/>

app/code/Magento/Sales/Model/ResourceModel/Order/Payment/Transaction.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ protected function _beforeSave(\Magento\Framework\Model\AbstractModel $transacti
152152
$parentId = (int)$this->_lookupByTxnId($orderId, $paymentId, $parentTxnId, $idFieldName);
153153
if ($parentId && $txnType == 'authorization') {
154154
$transaction->setData('parent_id', $parentId);
155-
$transaction->setData('txn_type', \Magento\Sales\Model\Order\Payment\Transaction::TYPE_CAPTURE);
156155
}
157156
} else {
158157
$result = $this->getParentId($orderId);

0 commit comments

Comments
 (0)