Skip to content

Commit

Permalink
Fixed failed Vipps init On Klarna. (#89)
Browse files Browse the repository at this point in the history
@vmalyk 
Thanks for your PR.
  • Loading branch information
vmalyk authored Feb 11, 2021
1 parent 6a4975a commit 8e42bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/Payment/Klarna/InitRegular.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private function placeOrder(CartInterface $quote): void

$this->setCheckoutMethod($quote);

$maskedQuoteId = $this->quoteIdToMaskedQuoteId->execute($quote->getId());
$maskedQuoteId = $this->quoteIdToMaskedQuoteId->execute((int)$quote->getId());
switch ($quote->getCheckoutMethod()) {
case Onepage::METHOD_CUSTOMER:
$this->paymentInformationManagement->savePaymentInformationAndPlaceOrder(
Expand Down

0 comments on commit 8e42bfe

Please sign in to comment.