Skip to content

Commit

Permalink
Merge pull request #1 from das-peter/patch-1
Browse files Browse the repository at this point in the history
Fix: Operation not set in PunchOutSetupRequest
  • Loading branch information
hscheffknecht committed Oct 6, 2021
2 parents 85d6027 + f6b4933 commit b126147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CXml/Models/Requests/PunchOutSetupRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand Down

0 comments on commit b126147

Please sign in to comment.