From 0a317b1e6b03ffad56740bea3b7acc65751a2283 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 28 Sep 2023 09:41:06 +1000 Subject: [PATCH] Fixes for auth sequence for checkout.com --- .../CheckoutComPaymentDriver.php | 4 +- composer.lock | 48 +++++++++---------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/app/PaymentDrivers/CheckoutComPaymentDriver.php b/app/PaymentDrivers/CheckoutComPaymentDriver.php index 94615b4d38f4..5abfdf7567cd 100644 --- a/app/PaymentDrivers/CheckoutComPaymentDriver.php +++ b/app/PaymentDrivers/CheckoutComPaymentDriver.php @@ -124,8 +124,8 @@ class CheckoutComPaymentDriver extends BaseDriver /** @phpstan-ignore-next-line **/ $builder = CheckoutSdk::builder() ->previous() - ->environment($this->company_gateway->getConfigField('testMode') ? Environment::sandbox() : Environment::production()) /** phpstan-ignore-line **/ ->staticKeys() + ->environment($this->company_gateway->getConfigField('testMode') ? Environment::sandbox() : Environment::production()) /** phpstan-ignore-line **/ ->publicKey($this->company_gateway->getConfigField('publicApiKey')) ->secretKey($this->company_gateway->getConfigField('secretApiKey')); @@ -135,8 +135,8 @@ class CheckoutComPaymentDriver extends BaseDriver /** @phpstan-ignore-next-line **/ $builder = CheckoutSdk::builder() - ->environment($this->company_gateway->getConfigField('testMode') ? Environment::sandbox() : Environment::production()) /** phpstan-ignore-line **/ ->staticKeys() + ->environment($this->company_gateway->getConfigField('testMode') ? Environment::sandbox() : Environment::production()) /** phpstan-ignore-line **/ ->publicKey($this->company_gateway->getConfigField('publicApiKey')) ->secretKey($this->company_gateway->getConfigField('secretApiKey')); diff --git a/composer.lock b/composer.lock index 859dfccaa8c8..c6ad3dd30e61 100644 --- a/composer.lock +++ b/composer.lock @@ -485,16 +485,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.281.14", + "version": "3.281.15", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "4b5b8aab08ef0add75f086bc03c7651799d187db" + "reference": "8256b827274966396eccf8ad391ce88d7c53ffa0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/4b5b8aab08ef0add75f086bc03c7651799d187db", - "reference": "4b5b8aab08ef0add75f086bc03c7651799d187db", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/8256b827274966396eccf8ad391ce88d7c53ffa0", + "reference": "8256b827274966396eccf8ad391ce88d7c53ffa0", "shasum": "" }, "require": { @@ -574,9 +574,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.281.14" + "source": "https://github.com/aws/aws-sdk-php/tree/3.281.15" }, - "time": "2023-09-26T18:15:48+00:00" + "time": "2023-09-27T18:06:59+00:00" }, { "name": "bacon/bacon-qr-code", @@ -1466,16 +1466,16 @@ }, { "name": "doctrine/deprecations", - "version": "v1.1.1", + "version": "1.1.2", "source": { "type": "git", "url": "https://github.com/doctrine/deprecations.git", - "reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3" + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/612a3ee5ab0d5dd97b7cf3874a6efe24325efac3", - "reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931", + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931", "shasum": "" }, "require": { @@ -1507,9 +1507,9 @@ "homepage": "https://www.doctrine-project.org/", "support": { "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/v1.1.1" + "source": "https://github.com/doctrine/deprecations/tree/1.1.2" }, - "time": "2023-06-03T09:27:29+00:00" + "time": "2023-09-27T20:04:15+00:00" }, { "name": "doctrine/event-manager", @@ -4287,16 +4287,16 @@ }, { "name": "laravel/framework", - "version": "v10.25.0", + "version": "v10.25.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "5132dafecbea5825af7cb4d093d4d7df57aecb61" + "reference": "cd0a440f43eaaad247d6f6575d3782c156ec913c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/5132dafecbea5825af7cb4d093d4d7df57aecb61", - "reference": "5132dafecbea5825af7cb4d093d4d7df57aecb61", + "url": "https://api.github.com/repos/laravel/framework/zipball/cd0a440f43eaaad247d6f6575d3782c156ec913c", + "reference": "cd0a440f43eaaad247d6f6575d3782c156ec913c", "shasum": "" }, "require": { @@ -4396,7 +4396,7 @@ "league/flysystem-read-only": "^3.3", "league/flysystem-sftp-v3": "^3.0", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.10", + "orchestra/testbench-core": "^8.12", "pda/pheanstalk": "^4.0", "phpstan/phpstan": "^1.4.7", "phpunit/phpunit": "^10.0.7", @@ -4483,7 +4483,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-09-26T15:22:05+00:00" + "time": "2023-09-27T01:29:32+00:00" }, { "name": "laravel/prompts", @@ -5834,16 +5834,16 @@ }, { "name": "microsoft/microsoft-graph", - "version": "1.106.0", + "version": "1.107.0", "source": { "type": "git", "url": "https://github.com/microsoftgraph/msgraph-sdk-php.git", - "reference": "a9f43d74131bb13cb1b5a999101d486b26601b8f" + "reference": "63fed05d4d9c348db094f8d8a1d44ff9ce6887c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/a9f43d74131bb13cb1b5a999101d486b26601b8f", - "reference": "a9f43d74131bb13cb1b5a999101d486b26601b8f", + "url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/63fed05d4d9c348db094f8d8a1d44ff9ce6887c7", + "reference": "63fed05d4d9c348db094f8d8a1d44ff9ce6887c7", "shasum": "" }, "require": { @@ -5880,9 +5880,9 @@ "homepage": "https://developer.microsoft.com/en-us/graph", "support": { "issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues", - "source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.106.0" + "source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.107.0" }, - "time": "2023-09-08T06:02:27+00:00" + "time": "2023-09-27T06:43:40+00:00" }, { "name": "mollie/mollie-api-php",