Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Commit 45f6ba7

Browse files
authored
Update Abstract.php
1 parent 85c9703 commit 45f6ba7

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

app/code/community/PayU/Account/Model/Method/Abstract.php

-15
Original file line numberDiff line numberDiff line change
@@ -178,21 +178,6 @@ public function orderCreateRequest(Mage_Sales_Model_Order $order)
178178
'language' => $this->_getLanguageCode()
179179
);
180180

181-
if (!$order->getIsVirtual() && !empty($order->getShippingAddressId())) {
182-
$shippingAddress = $order->getShippingAddress();
183-
184-
$customerSheet ['delivery'] = array(
185-
'street' => trim(implode(' ', $shippingAddress->getStreet())),
186-
'postalCode' => $shippingAddress->getPostcode(),
187-
'city' => $shippingAddress->getCity(),
188-
'countryCode' => $shippingAddress->getCountry(),
189-
'recipientName' => trim(
190-
$shippingAddress->getFirstname() . ' ' . $shippingAddress->getLastname()
191-
),
192-
'recipientPhone' => $shippingAddress->getTelephone(),
193-
'recipientEmail' => $shippingAddress->getEmail()
194-
);
195-
}
196181
$OCReq['buyer'] = $customerSheet;
197182
}
198183
}

0 commit comments

Comments
 (0)