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

Commit

Permalink
Merge pull request #20 from heidelpay/develop
Browse files Browse the repository at this point in the history
beta.2
  • Loading branch information
Simon Gabriel authored Nov 1, 2018
2 parents fe55602 + 2c82264 commit fae8221
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
4 changes: 2 additions & 2 deletions examples/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}

const EXAMPLE_BASE_FOLDER = HEIDELPAY_PHP_PAYMENT_API_URL . HEIDELPAY_PHP_PAYMENT_API_FOLDER;
define('SUCCESS_URL', EXAMPLE_BASE_FOLDER . 'success.php' );
define('FAILURE_URL', EXAMPLE_BASE_FOLDER . 'failure.php' );
define('SUCCESS_URL', EXAMPLE_BASE_FOLDER . 'Success.php' );
define('FAILURE_URL', EXAMPLE_BASE_FOLDER . 'Failure.php' );
define('PUBLIC_KEY', 's-pub-2a10ifVINFAjpQJ9qW8jBe5OJPBx6Gxa');
define('PRIVATE_KEY', 's-priv-2a102ZMq3gV4I3zJ888J7RR6u75oqK3n');
20 changes: 14 additions & 6 deletions examples/_enableExamples.php
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
<?php
/**
* For security reasons all examples are disabled by default
* You can switch the constant 'HEIDELPAY_PHP_PAYMENT_API_EXAMPLES' to true to make the examples executable.
* But you should always set it false on productive environments.
*
* You can switch this to true to make the examples executable. But
* you should always switch this back to false on productive environments.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* @license http://www.apache.org/licenses/LICENSE-2.0
*
* @license Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* @copyright Copyright © 2016-present heidelpay GmbH. All rights reserved.
*
* @link http://dev.heidelpay.com/heidelpay-php-payment-api/
* @link http://dev.heidelpay.com/
*
* @author Jens Richter
* @author Simon Gabriel <[email protected]>
*
* @category example
* @package heidelpay/mgw_sdk/examples
*/

/* Set to true if you want to enable the examples */
Expand Down

0 comments on commit fae8221

Please sign in to comment.