Skip to content

Commit

Permalink
Merge pull request #185 from buckaroo-it/develop
Browse files Browse the repository at this point in the history
Release v1.14.0
  • Loading branch information
vildanbina authored Jul 31, 2024
2 parents d2ec40d + fecaa96 commit 4be1046
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "buckaroo/sdk",
"description": "Buckaroo payment SDK",
"license": "MIT",
"version": "1.13.0",
"version": "1.14.0",
"type": "library",
"require": {
"php": ">=7.4|^8.0",
Expand Down
1 change: 1 addition & 0 deletions src/PaymentMethods/PaymentFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
* @method TransactionResponse pause(array $data)
* @method TransactionResponse resume(array $data)
* @method TransactionResponse payOneClick(array $data)
* @method TransactionResponse setServiceVersion(int $versionId)
*/
class PaymentFacade
{
Expand Down
2 changes: 1 addition & 1 deletion src/PaymentMethods/PaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ abstract class PaymentMethod implements PaymentInterface
/**
* @var array|string[]
*/
protected array $requiredConfigFields = ['currency', 'pushURL'];
protected array $requiredConfigFields = ['currency'];
/**
* @var string
*/
Expand Down
4 changes: 0 additions & 4 deletions src/PaymentMethods/SEPA/Models/Pay.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ class Pay extends ServiceParameter
* @var string
*/
protected string $mandateDate;
/**
* @var string
*/
protected string $startRecurrent;

/**
* @param $customer
Expand Down
7 changes: 0 additions & 7 deletions src/Services/ServiceListParameters/ServiceListParameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,6 @@ protected function appendParameter(?int $groupKey, ?string $groupType, string $n
{
if (! is_null($value))
{
if (is_callable($value))
{
$this->serviceList->appendParameter($value($groupKey, $groupType));

return $this;
}

$this->serviceList->appendParameter([
"Name" => $name,
"Value" => $value,
Expand Down

0 comments on commit 4be1046

Please sign in to comment.