-
Notifications
You must be signed in to change notification settings - Fork 41
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 #490 from BoulangerV/MAGE-533-PPE_Error_105
MAGE-533: Add Redirect handling for PPE Checkout
- Loading branch information
Showing
3 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
53 changes: 53 additions & 0 deletions
53
app/code/community/Payone/Core/Exception/PaypalExpressRedirect.php
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?php | ||
/** | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the GNU General Public License (GPL 3) | ||
* that is bundled with this package in the file LICENSE.txt | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade Payone_Core to newer | ||
* versions in the future. If you wish to customize Payone_Core for your | ||
* needs please refer to http://www.payone.de for more information. | ||
* | ||
* @category Payone | ||
* @package Payone_Core_Exception | ||
* @subpackage | ||
* @copyright Copyright (c) 2023 <[email protected]> - www.fatchip.de | ||
* @author FATCHIP GmbH <[email protected]> | ||
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3) | ||
* @link http://www.fatchip.de | ||
*/ | ||
|
||
/** | ||
* | ||
* @category Payone | ||
* @package Payone_Core_Exception | ||
* @subpackage | ||
* @copyright Copyright (c) 2023 <[email protected]> - www.fatchip.de | ||
* @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3) | ||
* @link http://www.fatchip.de | ||
*/ | ||
class Payone_Core_Exception_PaypalExpressRedirect extends Exception | ||
{ | ||
/** @var string */ | ||
private $redirectUrl = ""; | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getRedirectUrl() | ||
{ | ||
return $this->redirectUrl; | ||
} | ||
|
||
/** | ||
* @param string $redirectUrl | ||
*/ | ||
public function setRedirectUrl(string $redirectUrl) | ||
{ | ||
$this->redirectUrl = $redirectUrl; | ||
} | ||
} |
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