Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
* Introduce the payment type Applepay.

### Changed
* Card Examples: Ensure that error messages are displayed just one time.
* Examples:
* Card Examples - Ensure that error messages are displayed just one time.
* Configuration - Change default protocol to https.
* Configuration - Correct vendor name of path constant `UNZER_PAPI_FOLDER`.

## [1.1.1.1](https://github.com/unzerdev/php-sdk/compare/1.1.1.0..1.1.1.1)

Expand Down
7 changes: 4 additions & 3 deletions examples/_enableExamples.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@
/* Set to true if you want to enable the examples */
define('UNZER_PAPI_EXAMPLES', false);

/* Please set this to your url. It must be reachable over the net*/
define('UNZER_PAPI_URL', 'http://'.$_SERVER['HTTP_HOST']);
/* Please set this to your url. It must be reachable over the net
Webhooks will work with https only. However protocol can be changed to http if necessary. */
define('UNZER_PAPI_URL', 'https://'.$_SERVER['HTTP_HOST']);

/* Please enter the path from root directory to the example folder */
define('UNZER_PAPI_FOLDER', '/vendor/unzer/php-sdk/examples/');
define('UNZER_PAPI_FOLDER', '/vendor/unzerdev/php-sdk/examples/');

/* Please provide your own sandbox-keypair here. */
define('UNZER_PAPI_PRIVATE_KEY', 's-priv-***');
Expand Down