diff --git a/app/PaymentDrivers/Mollie/CreditCard.php b/app/PaymentDrivers/Mollie/CreditCard.php index bd6b2054fff2..8268f80f638d 100644 --- a/app/PaymentDrivers/Mollie/CreditCard.php +++ b/app/PaymentDrivers/Mollie/CreditCard.php @@ -70,6 +70,7 @@ class CreditCard 'sequenceType' => 'recurring', 'description' => \sprintf('Hash: %s', $this->mollie->payment_hash->hash), 'webhookUrl' => $this->mollie->company_gateway->webhookUrl(), + 'idempotencyKey' => uniqid("st",true), 'metadata' => [ 'client_id' => $this->mollie->client->hashed_id, 'hash' => $this->mollie->payment_hash->hash, diff --git a/resources/views/portal/ninja2020/layout/clean.blade.php b/resources/views/portal/ninja2020/layout/clean.blade.php index b8c49034cda2..06129549c545 100644 --- a/resources/views/portal/ninja2020/layout/clean.blade.php +++ b/resources/views/portal/ninja2020/layout/clean.blade.php @@ -3,7 +3,7 @@
- @if ($company && $company->matomo_url && $company->matomo_id) + @if (isset($company) && $company->matomo_url && $company->matomo_id)