Skip to content

Commit

Permalink
Merge pull request #176 from buckaroo-it/BA-276
Browse files Browse the repository at this point in the history
BA-276 Remove CreditClick payment
  • Loading branch information
vildanbina authored May 16, 2024
2 parents 3935386 + 8f9c823 commit b5b6a0d
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 247 deletions.
30 changes: 0 additions & 30 deletions example/transactions/credit_click.php

This file was deleted.

6 changes: 3 additions & 3 deletions src/PaymentMethods/Billink/Billink.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
use Buckaroo\Models\Model;
use Buckaroo\PaymentMethods\Billink\Models\Capture;
use Buckaroo\PaymentMethods\Billink\Models\Pay;
use Buckaroo\PaymentMethods\CreditClick\Models\Refund;
use Buckaroo\PaymentMethods\Billink\Models\Refund;
use Buckaroo\PaymentMethods\PayablePaymentMethod;
use Buckaroo\Transaction\Response\TransactionResponse;

Expand Down Expand Up @@ -76,11 +76,11 @@ public function capture(): TransactionResponse
*/
public function cancelAuthorize(): TransactionResponse
{
$pay = new Refund($this->payload);
$cancel = new Refund($this->payload);

$this->setPayPayload();

$this->setServiceList('CancelAuthorize', $pay);
$this->setServiceList('CancelAuthorize', $cancel);

return $this->postRequest();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @license https://tldrlegal.com/license/mit-license
*/

namespace Buckaroo\PaymentMethods\CreditClick\Models;
namespace Buckaroo\PaymentMethods\Billink\Models;

use Buckaroo\Models\ServiceParameter;

Expand Down
53 changes: 0 additions & 53 deletions src/PaymentMethods/CreditClick/CreditClick.php

This file was deleted.

65 changes: 0 additions & 65 deletions src/PaymentMethods/CreditClick/Models/Pay.php

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions src/PaymentMethods/PaymentMethodFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
use Buckaroo\PaymentMethods\CreditCard\CreditCard;
use Buckaroo\PaymentMethods\Multibanco\Multibanco;
use Buckaroo\PaymentMethods\Przelewy24\Przelewy24;
use Buckaroo\PaymentMethods\CreditClick\CreditClick;
use Buckaroo\PaymentMethods\PayPerEmail\PayPerEmail;
use Buckaroo\PaymentMethods\PointOfSale\PointOfSale;
use Buckaroo\PaymentMethods\BankTransfer\BankTransfer;
Expand Down Expand Up @@ -90,7 +89,6 @@ class PaymentMethodFactory
'cartebancaire', 'dankort', 'nexi',
'postepay',
],
CreditClick::class => ['creditclick'],
CreditManagement::class => ['credit_management'],
iDeal::class => ['ideal'],
iDealProcessing::class => ['idealprocessing'],
Expand Down
61 changes: 0 additions & 61 deletions tests/Buckaroo/Payments/CreditClickTest.php

This file was deleted.

0 comments on commit b5b6a0d

Please sign in to comment.