Skip to content

Commit

Permalink
Fixed shipping appeareing as product
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinverschoor committed Mar 3, 2020
1 parent 2a49a11 commit 14319a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Model/Paymentmethod/PaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@ protected function doStartTransaction(Order $order)
'name' => $shippingDescription,
'price' => $shippingCost,
'qty' => 1,
'tax' => $shippingTax
'tax' => $shippingTax,
'type' => \Paynl\Transaction::PRODUCT_TYPE_SHIPPING
);
}

Expand Down Expand Up @@ -436,4 +437,4 @@ public function getPaymentOptionId()
* @return int the default payment option id
*/
abstract protected function getDefaultPaymentOptionId();
}
}

0 comments on commit 14319a4

Please sign in to comment.