From f3e71b4083d4143105f1227684fa3e322d26c537 Mon Sep 17 00:00:00 2001
From: Dorian Damon <ddamon@elevatedthird.com>
Date: Fri, 17 Jan 2025 15:41:38 -0700
Subject: [PATCH] change clientVersion argument in Capture Context request

---
 src/Plugin/Commerce/PaymentGateway/Flex.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Plugin/Commerce/PaymentGateway/Flex.php b/src/Plugin/Commerce/PaymentGateway/Flex.php
index e25aa65..e22e315 100644
--- a/src/Plugin/Commerce/PaymentGateway/Flex.php
+++ b/src/Plugin/Commerce/PaymentGateway/Flex.php
@@ -705,7 +705,7 @@ class Flex extends OnsitePaymentGatewayBase implements FlexInterface {
         'https://' . $request->getHttpHost(),
       ],
       'allowedCardNetworks' => $this->getAllowedCardNetworks(),
-      'clientVersion' => 'v2.0',
+      'clientVersion' => 'v2',
     ];
 
     try {
-- 
2.39.3 (Apple Git-145)

