Skip to content

Commit

Permalink
Update Abstract.php
Browse files Browse the repository at this point in the history
  • Loading branch information
regdos committed Feb 28, 2018
1 parent 85c9703 commit 45f6ba7
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions app/code/community/PayU/Account/Model/Method/Abstract.php
Expand Up @@ -178,21 +178,6 @@ public function orderCreateRequest(Mage_Sales_Model_Order $order)
'language' => $this->_getLanguageCode()
);

if (!$order->getIsVirtual() && !empty($order->getShippingAddressId())) {
$shippingAddress = $order->getShippingAddress();

$customerSheet ['delivery'] = array(
'street' => trim(implode(' ', $shippingAddress->getStreet())),
'postalCode' => $shippingAddress->getPostcode(),
'city' => $shippingAddress->getCity(),
'countryCode' => $shippingAddress->getCountry(),
'recipientName' => trim(
$shippingAddress->getFirstname() . ' ' . $shippingAddress->getLastname()
),
'recipientPhone' => $shippingAddress->getTelephone(),
'recipientEmail' => $shippingAddress->getEmail()
);
}
$OCReq['buyer'] = $customerSheet;
}
}
Expand Down

0 comments on commit 45f6ba7

Please sign in to comment.