Skip to content

Commit 6324a6c

Browse files
authored
Merge pull request #40 from unzerdev/develop
Release 1.1.2.0
2 parents 39d4317 + bb30267 commit 6324a6c

File tree

37 files changed

+1745
-51
lines changed

37 files changed

+1745
-51
lines changed

CHANGELOG.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,18 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
55

6-
## [1.1.1.1]
6+
## [1.1.2.0](https://github.com/unzerdev/php-sdk/compare/1.1.1.1..1.1.2.0)
7+
### Added
8+
* Introduce the payment type Applepay.
9+
10+
### Changed
11+
* Examples:
12+
* Card Examples - Ensure that error messages are displayed just one time.
13+
* Configuration - Change default protocol to https.
14+
* Configuration - Correct vendor name of path constant `UNZER_PAPI_FOLDER`.
15+
* Update documentation links.
16+
17+
## [1.1.1.1](https://github.com/unzerdev/php-sdk/compare/1.1.1.0..1.1.1.1)
718

819
### Fix
920
* Change debug logging of failed tests that depend on another one to work as expected.
@@ -19,13 +30,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
1930
* Card example and paypage examples use a dummy customer-email to ensure they work with 3ds2.
2031
* Several minor changes.
2132

22-
## [1.1.1.0]
33+
## [1.1.1.0](https://github.com/unzerdev/php-sdk/compare/1.1.0.0..1.1.1.0)
2334

2435
### Changed
2536
* Add email property to payment type `card` to meet 3Ds2.x regulations.
2637
* Several minor changes.
2738

28-
## [1.1.0.0]
39+
## [1.1.0.0](https://github.com/unzerdev/php-sdk/compare/1260b8314af1ac461e33f0cfb382ffcd0e87c105..1.1.0.0)
2940

3041
### Changed
3142
* Rebranding of the SDK.
@@ -55,8 +66,4 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
5566
* API_ERROR_AUTHORIZE_ALREADY_CANCELLED
5667
* API_ERROR_CHARGE_ALREADY_CHARGED_BACK
5768
* API_ERROR_BASKET_ITEM_IMAGE_INVALID_EXTENSION
58-
* ENV_VAR_NAME_DISABLE_TEST_LOGGING
59-
60-
[1.1.0.0]: https://github.com/unzerdev/php-sdk/compare/1260b8314af1ac461e33f0cfb382ffcd0e87c105..1.1.0.0
61-
[1.1.1.0]: https://github.com/unzerdev/php-sdk/compare/1.1.0.0..1.1.1.0
62-
[1.1.1.1]: https://github.com/unzerdev/php-sdk/compare/1.1.1.0..1.1.1.1
69+
* ENV_VAR_NAME_DISABLE_TEST_LOGGING

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ This SDK provides for an easy way to connect to the Unzer Rest API.
1111

1212
Please refer to the following documentation for installation instructions and usage information.
1313

14-
* [API Documentation](https://docs.unzer.com/docs/introduction)
15-
* [PHP SDK Documentation](https://docs.unzer.com/docs/php-sdk)
16-
* [How to use the examples](https://docs.unzer.com/docs/example-implementations)
17-
* [Debugging](https://docs.unzer.com/docs/logging-and-debugging)
14+
* [API Documentation](https://docs.unzer.com/overview)
15+
* [PHP SDK Documentation](https://docs.unzer.com/integrate/php-sdk)
16+
* [How to use the examples](https://docs.unzer.com/integrate/php-sdk/example-implementations)
17+
* [Debugging](https://docs.unzer.com/integrate/php-sdk/logging-and-debugging)
1818

1919
## Supported payment types
2020
* Alipay

examples/Bancontact/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
<body style="margin: 70px 70px 0;">
4747

48-
<p><a href="https://docs.unzer.com/docs/testdata" target="_blank">Click here to open our test data in new tab.</a></p>
48+
<p><a href="https://docs.unzer.com/reference/test-data" target="_blank">Click here to open our test data in new tab.</a></p>
4949

5050
<form id="payment-form" class="unzerUI form" novalidate>
5151
<div id="bancontact-holder" class="field">

examples/BankTransfer/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
<body style="margin: 70px 70px 0;">
4747

48-
<p><a href="https://docs.unzer.com/docs/testdata" target="_blank">Click here to open our test data in new tab.</a></p>
48+
<p><a href="https://docs.unzer.com/reference/test-data" target="_blank">Click here to open our test data in new tab.</a></p>
4949

5050
<form id="payment-form" class="unzerUI form" novalidate>
5151
<div class="field" id="error-holder" style="color: #9f3a38"> </div>

examples/Card/index.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<li>Secret: secret3</li>
6161
</ul>
6262

63-
<p><a href="https://docs.unzer.com/docs/testdata" target="_blank">Click here to open our test data in new tab.</a></p>
63+
<p><a href="https://docs.unzer.com/reference/test-data" target="_blank">Click here to open our test data in new tab.</a></p>
6464

6565
<form id="payment-form" class="unzerUI form" novalidate>
6666
<!-- This is just for the example - Start -->
@@ -151,7 +151,6 @@
151151
$errorHolder.html('')
152152
} else {
153153
formFieldValid[e.type] = false;
154-
$errorHolder.html(e.error)
155154
}
156155
payButton.disabled = !(formFieldValid.number && formFieldValid.expiry && formFieldValid.cvc);
157156
};

examples/CardExtended/index.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<li>Secret: secret3</li>
6161
</ul>
6262

63-
<p><a href="https://docs.unzer.com/docs/testdata" target="_blank">Click here to open our test data in new tab.</a></p>
63+
<p><a href="https://docs.unzer.com/reference/test-data" target="_blank">Click here to open our test data in new tab.</a></p>
6464

6565
<form id="payment-form" class="unzerUI form" novalidate>
6666
<!-- This is just for the example - Start -->
@@ -160,7 +160,6 @@
160160
$errorHolder.html('')
161161
} else {
162162
formFieldValid[e.type] = false;
163-
$errorHolder.html(e.error)
164163
}
165164
payButton.disabled = !(
166165
formFieldValid.number &&

examples/CardRecurring/index.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<li>Secret: secret3</li>
6161
</ul>
6262

63-
<p><a href="https://docs.unzer.com/docs/testdata" target="_blank">Click here to open our test data in new tab.</a></p>
63+
<p><a href="https://docs.unzer.com/reference/test-data" target="_blank">Click here to open our test data in new tab.</a></p>
6464

6565
<form id="payment-form" class="unzerUI form" novalidate>
6666
<div class="field">
@@ -124,7 +124,6 @@
124124
$errorHolder.html('')
125125
} else {
126126
formFieldValid[e.type] = false;
127-
$errorHolder.html(e.error)
128127
}
129128
payButton.disabled = !(formFieldValid.number && formFieldValid.expiry && formFieldValid.cvc && formFieldValid.email);
130129
};

examples/EmbeddedPayPage/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<body>
4949

5050
<form id="payment-form" class="unzerUI form" novalidate style="margin: 70px 70px 0;">
51-
<p><a href="https://docs.unzer.com/docs/testdata" target="_blank">Click here to open our test data in new tab.</a></p>
51+
<p><a href="https://docs.unzer.com/reference/test-data" target="_blank">Click here to open our test data in new tab.</a></p>
5252
<!-- This is just for the example - Start -->
5353
<div class="fields inline">
5454
<label for="transaction_type">Chose the transaction type you want to test:</label>

examples/IDeal/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
<body style="margin: 70px 70px 0;">
4747

48-
<p><a href="https://docs.unzer.com/docs/testdata" target="_blank">Click here to open our test data in new tab.</a></p>
48+
<p><a href="https://docs.unzer.com/reference/test-data" target="_blank">Click here to open our test data in new tab.</a></p>
4949

5050
<form id="payment-form" class="unzerUI form" novalidate>
5151
<div id="example-ideal" class="field"></div>

examples/InstallmentSecured/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
<body style="margin: 70px 70px 0;">
4747

48-
<p><a href="https://docs.unzer.com/docs/testdata" target="_blank">Click here to open our test data in new tab.</a><br/></p>
48+
<p><a href="https://docs.unzer.com/reference/test-data" target="_blank">Click here to open our test data in new tab.</a><br/></p>
4949

5050
<form id="payment-form-installmentsecured" class="unzerUI form unzerUI-installmentsecured__form" novalidate>
5151
<div id="example-installment-secured">

0 commit comments

Comments
 (0)