From c3561dc58ae30c55e038c54870c7c3ed33c88ffc Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 25 Jan 2023 07:35:06 +1100 Subject: [PATCH] Fixes for Mollie Credit Cards - idempotency key for credit card payments with no payment->token present --- app/PaymentDrivers/Mollie/CreditCard.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/PaymentDrivers/Mollie/CreditCard.php b/app/PaymentDrivers/Mollie/CreditCard.php index 601aafe1f27e..4049750d7801 100644 --- a/app/PaymentDrivers/Mollie/CreditCard.php +++ b/app/PaymentDrivers/Mollie/CreditCard.php @@ -111,6 +111,7 @@ class CreditCard 'value' => $amount, ], 'description' => $description, + 'idempotencyKey' => uniqid("st",true), 'redirectUrl' => route('mollie.3ds_redirect', [ 'company_key' => $this->mollie->client->company->company_key, 'company_gateway_id' => $this->mollie->company_gateway->hashed_id,