Skip to content

Commit

Permalink
Fix: Operation not set in PunchOutSetupRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
das-peter committed Oct 5, 2021
1 parent 85d6027 commit f6b4933
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 f6b4933

Please sign in to comment.