mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add idempotency key for mollie
This commit is contained in:
parent
449d88dd21
commit
bba2adf5cd
@ -70,6 +70,7 @@ class CreditCard
|
|||||||
'sequenceType' => 'recurring',
|
'sequenceType' => 'recurring',
|
||||||
'description' => \sprintf('Hash: %s', $this->mollie->payment_hash->hash),
|
'description' => \sprintf('Hash: %s', $this->mollie->payment_hash->hash),
|
||||||
'webhookUrl' => $this->mollie->company_gateway->webhookUrl(),
|
'webhookUrl' => $this->mollie->company_gateway->webhookUrl(),
|
||||||
|
'idempotencyKey' => uniqid("st",true),
|
||||||
'metadata' => [
|
'metadata' => [
|
||||||
'client_id' => $this->mollie->client->hashed_id,
|
'client_id' => $this->mollie->client->hashed_id,
|
||||||
'hash' => $this->mollie->payment_hash->hash,
|
'hash' => $this->mollie->payment_hash->hash,
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<!-- Error: {{ session('error') }} -->
|
<!-- Error: {{ session('error') }} -->
|
||||||
@if ($company && $company->matomo_url && $company->matomo_id)
|
@if (isset($company) && $company->matomo_url && $company->matomo_id)
|
||||||
<script>
|
<script>
|
||||||
var _paq = window._paq = window._paq || [];
|
var _paq = window._paq = window._paq || [];
|
||||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user