Skip to content

Commit 54c510a

Browse files
author
Viktor Tymchynskyi
committed
MAGETWO-43950: Unable to place order within PayPal Express Checkout with virtual product
1 parent 7548b06 commit 54c510a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Paypal/Model/Express/Checkout.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,10 +1191,10 @@ public function getCustomerSession()
11911191
/**
11921192
* Set shipping options to api
11931193
* @param \Magento\Paypal\Model\Cart $cart
1194-
* @param \Magento\Quote\Model\Quote\Address $address
1194+
* @param \Magento\Quote\Model\Quote\Address|null $address
11951195
* @return void
11961196
*/
1197-
private function setShippingOptions(PaypalCart $cart, Address $address)
1197+
private function setShippingOptions(PaypalCart $cart, $address)
11981198
{
11991199
// for included tax always disable line items (related to paypal amount rounding problem)
12001200
$this->_api->setIsLineItemsEnabled($this->_config->getValue(PaypalConfig::TRANSFER_CART_LINE_ITEMS));

0 commit comments

Comments
 (0)