mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 13:54:30 -04:00
Fixes for mollie - disable idempotency
This commit is contained in:
parent
a38730ed3f
commit
44ffbeb4a9
@ -72,7 +72,7 @@ class CreditCard
|
|||||||
'sequenceType' => 'recurring',
|
'sequenceType' => 'recurring',
|
||||||
'description' => $description,
|
'description' => $description,
|
||||||
'webhookUrl' => $this->mollie->company_gateway->webhookUrl(),
|
'webhookUrl' => $this->mollie->company_gateway->webhookUrl(),
|
||||||
'idempotencyKey' => uniqid("st", true),
|
// '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,
|
||||||
@ -111,7 +111,7 @@ class CreditCard
|
|||||||
'value' => $amount,
|
'value' => $amount,
|
||||||
],
|
],
|
||||||
'description' => $description,
|
'description' => $description,
|
||||||
'idempotencyKey' => uniqid("st", true),
|
// 'idempotencyKey' => uniqid("st", true),
|
||||||
'redirectUrl' => route('mollie.3ds_redirect', [
|
'redirectUrl' => route('mollie.3ds_redirect', [
|
||||||
'company_key' => $this->mollie->client->company->company_key,
|
'company_key' => $this->mollie->client->company->company_key,
|
||||||
'company_gateway_id' => $this->mollie->company_gateway->hashed_id,
|
'company_gateway_id' => $this->mollie->company_gateway->hashed_id,
|
||||||
|
@ -218,6 +218,7 @@ class MolliePaymentDriver extends BaseDriver
|
|||||||
'customerId' => $cgt->gateway_customer_reference,
|
'customerId' => $cgt->gateway_customer_reference,
|
||||||
'sequenceType' => 'recurring',
|
'sequenceType' => 'recurring',
|
||||||
'description' => $description,
|
'description' => $description,
|
||||||
|
'idempotencyKey' => uniqid("st", true),
|
||||||
'webhookUrl' => $this->company_gateway->webhookUrl(),
|
'webhookUrl' => $this->company_gateway->webhookUrl(),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user