From bc371cf53c05dbd41b01d4eef7a7740005fccb19 Mon Sep 17 00:00:00 2001 From: "David.Owusu" Date: Fri, 12 Mar 2021 17:19:12 +0100 Subject: [PATCH 1/3] [change] (UMCS-120) card examples: remove double display of validation errors. --- examples/Card/index.php | 1 - examples/CardExtended/index.php | 1 - examples/CardRecurring/index.php | 1 - 3 files changed, 3 deletions(-) diff --git a/examples/Card/index.php b/examples/Card/index.php index d5dd5532..6db254dc 100644 --- a/examples/Card/index.php +++ b/examples/Card/index.php @@ -151,7 +151,6 @@ $errorHolder.html('') } else { formFieldValid[e.type] = false; - $errorHolder.html(e.error) } payButton.disabled = !(formFieldValid.number && formFieldValid.expiry && formFieldValid.cvc); }; diff --git a/examples/CardExtended/index.php b/examples/CardExtended/index.php index 1acf4d15..ebfbb043 100644 --- a/examples/CardExtended/index.php +++ b/examples/CardExtended/index.php @@ -160,7 +160,6 @@ $errorHolder.html('') } else { formFieldValid[e.type] = false; - $errorHolder.html(e.error) } payButton.disabled = !( formFieldValid.number && diff --git a/examples/CardRecurring/index.php b/examples/CardRecurring/index.php index b69f0a20..7a371df7 100644 --- a/examples/CardRecurring/index.php +++ b/examples/CardRecurring/index.php @@ -124,7 +124,6 @@ $errorHolder.html('') } else { formFieldValid[e.type] = false; - $errorHolder.html(e.error) } payButton.disabled = !(formFieldValid.number && formFieldValid.expiry && formFieldValid.cvc && formFieldValid.email); }; From 4a1ff73c7275df858d11b55f4ab928122cf9a5cc Mon Sep 17 00:00:00 2001 From: "David.Owusu" Date: Thu, 15 Apr 2021 17:35:02 +0200 Subject: [PATCH 2/3] [change] (UMCS-120) - update changelog. --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 409acb52..71de63a0 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. 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). +## [1.1.2.0] +### Changed +* Card Examples: Ensure that error messages are displayed just one time. ## [1.1.1.1] From ad5db26ffa94f50fbddff59564a27759a0d07623 Mon Sep 17 00:00:00 2001 From: "David.Owusu" Date: Mon, 19 Apr 2021 18:09:20 +0200 Subject: [PATCH 3/3] [change] (UMCS-120) - update changelog --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 00e631e1..c840f515 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,14 +2,14 @@ All notable changes to this project will be documented in this file. 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). -## [1.1.2.0] -### Changed -* Card Examples: Ensure that error messages are displayed just one time. ## [1.1.2.0](https://github.com/unzerdev/php-sdk/compare/1.1.1.1..1.1.2.0) ### Added * Introduce the payment type Applepay. +### Changed +* Card Examples: Ensure that error messages are displayed just one time. + ## [1.1.1.1](https://github.com/unzerdev/php-sdk/compare/1.1.1.0..1.1.1.1) ### Fix