From f6b4933a59d16c9b274f222b48e9bd9ba344d669 Mon Sep 17 00:00:00 2001 From: Peter Philipp Date: Tue, 5 Oct 2021 12:28:26 +0200 Subject: [PATCH] Fix: Operation not set in PunchOutSetupRequest --- src/CXml/Models/Requests/PunchOutSetupRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CXml/Models/Requests/PunchOutSetupRequest.php b/src/CXml/Models/Requests/PunchOutSetupRequest.php index b06465f..28e9136 100644 --- a/src/CXml/Models/Requests/PunchOutSetupRequest.php +++ b/src/CXml/Models/Requests/PunchOutSetupRequest.php @@ -16,7 +16,7 @@ class PunchOutSetupRequest implements RequestInterface /** @noinspection PhpUndefinedFieldInspection */ public function parse(\SimpleXMLElement $requestNode): void { - $this->buyerCookie = (string)$requestNode->attributes()->operation; + $this->operation = (string)$requestNode->attributes()->operation; $this->buyerCookie = $requestNode->xpath('BuyerCookie')[0]; $this->browserFormPostUrl = $requestNode->xpath('BrowserFormPost/URL')[0]; }