This repository has been archived by the owner on Feb 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from heidelpay/develop
17.3.28
- Loading branch information
Showing
39 changed files
with
1,476 additions
and
707 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,31 @@ | ||
<?php | ||
<?php | ||
|
||
namespace Heidelpay\Gateway\Block\Checkout; | ||
|
||
/** | ||
* Add payment information to the checkout success block | ||
* | ||
* | ||
* @license Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file. | ||
* @copyright Copyright © 2016-present Heidelberger Payment GmbH. All rights reserved. | ||
* | ||
* @link https://dev.heidelpay.de/magento | ||
* @link https://dev.heidelpay.de/magento | ||
* | ||
* @author Jens Richter | ||
* @author Jens Richter | ||
* | ||
* @package Heidelpay | ||
* @subpackage Magento2 | ||
* @category Magento2 | ||
* @package heidelpay | ||
* @subpackage magento2 | ||
* @category magento2 | ||
*/ | ||
class Success extends \Magento\Checkout\Block\Onepage\Success | ||
{ | ||
public function getHeidelpayInfo() | ||
{ | ||
$info = ($this->_checkoutSession->getHeidelpayInfo() !== false) ? $this->_checkoutSession->getHeidelpayInfo() : false; | ||
$info = ($this->_checkoutSession->getHeidelpayInfo() !== false) | ||
? $this->_checkoutSession->getHeidelpayInfo() | ||
: false; | ||
|
||
$this->_checkoutSession->setHeidelpayInfo(false); | ||
|
||
return $info; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.