Skip to content

Commit

Permalink
Merge pull request #5214 in SW/shopware from sw-19266/5.3/fix-basket-…
Browse files Browse the repository at this point in the history
…signature to 5.3

* commit '9eb3b041053d81b940c07d5aba4b616dfbb4ba16':
  SW-19266 - Pass actual basket structure to basket signature generator during payment. fixes shopware/shopware#1200
  • Loading branch information
janbuecker committed Jul 11, 2017
2 parents 96f9f28 + 9eb3b04 commit 6b1ae56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/Shopware/Controllers/Frontend/Checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -1880,7 +1880,7 @@ private function persistBasket()
/** @var BasketSignatureGeneratorInterface $generator */
$generator = $this->get('basket_signature_generator');
$basket = $this->session->offsetGet('sOrderVariables')->getArrayCopy();
$signature = $generator->generateSignature($basket, $this->session->get('sUserId'));
$signature = $generator->generateSignature($basket['sBasket'], $this->session->get('sUserId'));

/** @var BasketPersister $persister */
$persister = $this->get('basket_persister');
Expand Down

0 comments on commit 6b1ae56

Please sign in to comment.