This repository has been archived by the owner on Mar 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
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 #151 from heidelpay/develop
Release 1.2.6.0
- Loading branch information
Showing
288 changed files
with
4,380 additions
and
3,937 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ | |
/vendor/ | ||
/composer.lock | ||
/build | ||
/LessonsLearned.md | ||
/myreport.html/ |
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
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
require_once __DIR__ . '/../Constants.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 |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
/** Require the constants of this example */ | ||
|
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
/** Require the constants of this example */ | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
/** Require the constants of this example */ | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
require_once __DIR__ . '/../Constants.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 |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
/** Require the constants of this example */ | ||
|
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
/** Require the constants of this example */ | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
/** Require the constants of this example */ | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
require_once __DIR__ . '/../Constants.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 |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
/** Require the constants of this example */ | ||
|
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
/** Require the constants of this example */ | ||
|
@@ -65,12 +65,8 @@ function redirect($url, $merchantMessage = '', $clientMessage = '') | |
/** @var Card $paymentType */ | ||
$paymentType = $heidelpay->fetchPaymentType($paymentTypeId); | ||
|
||
switch (true) { | ||
case $paymentType->isRecurring(): | ||
redirect(SUCCESS_URL); | ||
break; | ||
default: | ||
break; | ||
if ($paymentType->isRecurring()) { | ||
redirect(SUCCESS_URL); | ||
} | ||
|
||
} catch (HeidelpayApiException $e) { | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
/** Require the constants of this example */ | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
require_once __DIR__ . '/_enableExamples.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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
require_once __DIR__ . '/../Constants.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 |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
/** Require the constants of this example */ | ||
|
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
/** Require the constants of this example */ | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
/** Require the constants of this example */ | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
require_once __DIR__ . '/../Constants.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 |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
/** Require the constants of this example */ | ||
|
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
/** Require the constants of this example */ | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
/** Require the constants of this example */ | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/test/integration | ||
* @package heidelpayPHP\examples | ||
*/ | ||
namespace heidelpayPHP\examples; | ||
|
||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author Simon Gabriel <[email protected]> | ||
* | ||
* @package heidelpayPHP/examples | ||
* @package heidelpayPHP\examples | ||
*/ | ||
|
||
session_start(); | ||
|
Oops, something went wrong.