Fixes for Mollie Credit Cards - idempotency key for credit card payments with no payment->token present

This commit is contained in:
David Bomba 2023-01-25 07:35:06 +11:00
parent 6880e67210
commit c3561dc58a

View File

@ -111,6 +111,7 @@ class CreditCard
'value' => $amount, 'value' => $amount,
], ],
'description' => $description, 'description' => $description,
'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,