We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit 7331b3cf authored by Daniel Sloof's avatar Daniel Sloof Committed by GitHub

use adyen helper to create adyen checkout service (#789)

This is just so we can use a plugin on `createAdyenCheckoutService` class, which we currently cannot do because of `new`.
Co-authored-by: default avatarAttila Kiss <42297201+cyattilakiss@users.noreply.github.com>
parent d24d1bc6
......@@ -68,8 +68,7 @@ class TransactionPayment implements ClientInterface
}
$client = $this->adyenHelper->initializeAdyenClient();
$service = new \Adyen\Service\Checkout($client);
$service = $this->adyenHelper->createAdyenCheckoutService($client);
$requestOptions = [];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment