Skip to content

Commit 51e3955

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ public function getCustomerSession()
11941194
* @param \Magento\Quote\Model\Quote\Address|null $address
11951195
* @return void
11961196
*/
1197-
private function setShippingOptions(PaypalCart $cart, $address)
1197+
private function setShippingOptions(PaypalCart $cart, Address $address = null)
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)