Skip to content

Commit 73b2eb9

Browse files
authored
[CC-730] add ctp back in
1 parent 52c1fa2 commit 73b2eb9

File tree

8 files changed

+1
-491
lines changed

8 files changed

+1
-491
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

88
## UNRELEASED
99

10-
Click To Pay payment method is added to Java SDK.
10+
Twint payment method is added to SDK.
1111

1212
### Added
1313

14-
* Added `\UnzerSDK\Resources\PaymentTypes\ClickToPay` payment method.
1514
* Added `\UnzerSDK\Resources\PaymentTypes\Twint` payment method.
1615

1716
## [3.5.0](https://github.com/unzerdev/php-sdk/compare/3.4.1..3.5.0)

src/Constants/IdStrings.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class IdStrings
2525
public const EPS = 'eps';
2626
public const GIROPAY = 'gro';
2727
public const GOOGLE_PAY = 'gop';
28-
public const CLICK_TO_PAY = 'ctp';
2928
public const HIRE_PURCHASE_DIRECT_DEBIT = 'hdd';
3029
public const IDEAL = 'idl';
3130
public const INSTALLMENT_SECURED = 'ins';

src/Resources/PaymentTypes/Clicktopay.php

Lines changed: 0 additions & 88 deletions
This file was deleted.

src/Services/ResourceService.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use UnzerSDK\Exceptions\UnzerApiException;
1111
use UnzerSDK\Resources\Config;
1212
use UnzerSDK\Resources\PaymentTypes\Applepay;
13-
use UnzerSDK\Resources\PaymentTypes\Clicktopay;
1413
use UnzerSDK\Resources\PaymentTypes\Googlepay;
1514
use UnzerSDK\Resources\PaymentTypes\Klarna;
1615
use UnzerSDK\Resources\PaymentTypes\PaylaterDirectDebit;
@@ -826,9 +825,6 @@ public static function getTypeInstanceFromIdString($typeId): BasePaymentType
826825
case IdStrings::GOOGLE_PAY:
827826
$paymentType = new Googlepay();
828827
break;
829-
case IdStrings::CLICK_TO_PAY:
830-
$paymentType = new Clicktopay();
831-
break;
832828
case IdStrings::HIRE_PURCHASE_DIRECT_DEBIT:
833829
case IdStrings::INSTALLMENT_SECURED:
834830
$paymentType = new InstallmentSecured();

test/Fixtures/jsonData/clicktopay/createRequest.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

test/Fixtures/jsonData/clicktopay/fetchResponse.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)