Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #67 from heidelpay/MAGE2-75/bugfix/GitHub_issue_#66
Browse files Browse the repository at this point in the history
MAGE2-75/bugfix/GitHub_issue_#66
  • Loading branch information
sixer1182 authored Jun 8, 2018
2 parents 4060484 + 2a95472 commit b15a633
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

This project does not follow a versioning standard. Versions are crafted after the dates; for example, the version 17.7.25 was released on July, 25th in 2017

## 18.6.8

### Fixed
- An issue which resulted in basked requests always being performed in sandbox mode.

## 18.6.7

### Fixed
Expand Down
3 changes: 3 additions & 0 deletions Helper/BasketHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ public function submitQuoteToBasketApi(Quote $quote = null)
$this->mainConfig->getSecuritySender()
);

// set sandboxmode according to configured mode
$basketApiRequest->setIsSandboxMode($this->mainConfig->isSandboxModeActive());

// add a new basket via api request by sending the addNewBasket request
$basketApiResponse = $basketApiRequest->addNewBasket();

Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
<module name="Heidelpay_Gateway" schema_version="18.6.7" setup_version="18.6.7">
<module name="Heidelpay_Gateway" schema_version="18.6.8" setup_version="18.6.8">
<sequence>
<module name="Magento_Sales" />
<module name="Magento_Payment" />
Expand Down

0 comments on commit b15a633

Please sign in to comment.