Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.14.0 #185

Merged
merged 11 commits into from
Jul 31, 2024
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
Loading