We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5353a2 commit 501d46dCopy full SHA for 501d46d
app/code/Magento/Sales/Model/AdminOrder/Create.php
@@ -515,11 +515,6 @@ public function initFromOrder(\Magento\Sales\Model\Order $order)
515
$this->setShippingMethod($order->getShippingMethod());
516
$quote->getShippingAddress()->setShippingDescription($order->getShippingDescription());
517
518
- $paymentData = $order->getPayment()->getData();
519
- unset($paymentData['cc_type'], $paymentData['cc_last_4']);
520
- unset($paymentData['cc_exp_month'], $paymentData['cc_exp_year']);
521
- $quote->getPayment()->addData($paymentData);
522
-
523
$orderCouponCode = $order->getCouponCode();
524
if ($orderCouponCode) {
525
$quote->setCouponCode($orderCouponCode);
0 commit comments