Skip to content

Commit

Permalink
Merge branch 'develop' into feature/knaken-payment
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuCh3n committed Mar 1, 2024
2 parents 886a5f1 + 71f68ee commit cd25bbc
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Handlers/Logging/DefaultLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ class DefaultLogger implements Subject, LoggerInterface
*/
public function __construct()
{
$this->attach(new Monolog());
if (($_ENV['BPE_LOG'] ?? false) === 'true')
{
$this->attach(new Monolog());
}

if (($_ENV['BPE_REPORT_ERROR'] ?? false) === 'true')
{
Expand Down
6 changes: 6 additions & 0 deletions src/PaymentMethods/Subscriptions/Models/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ class Subscription extends ServiceParameter
'address' => [
'groupType' => 'Address',
],
'company' => [
'groupType' => 'Company',
],
'phone' => [
'groupType' => 'Phone',
],
'addRatePlan' => [
'groupType' => 'AddRatePlan',
],
Expand Down
2 changes: 2 additions & 0 deletions tests/Buckaroo/Payments/KBCTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

class KBCTest extends BuckarooTestCase
{
protected array $paymentPayload;

protected function setUp(): void
{
$this->paymentPayload = ([
Expand Down
2 changes: 2 additions & 0 deletions tests/Buckaroo/Payments/SepaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

class SepaTest extends BuckarooTestCase
{
protected array $paymentPayload;

protected function setUp(): void
{
$this->paymentPayload = ([
Expand Down
2 changes: 2 additions & 0 deletions tests/Buckaroo/Payments/SofortTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

class SofortTest extends BuckarooTestCase
{
protected array $paymentPayload;

protected function setUp(): void
{
$this->paymentPayload = ([
Expand Down

0 comments on commit cd25bbc

Please sign in to comment.