Punchout FAQ
How do i test a login?
For OCI-based:
Find the URL for the PunchOut account you wish to test in the Chainbox > PunchOut section in Umbraco Backoffice. Ie. /da/login/punchout/xxxx-xxx
Append it to your site/domain - i.e https://example.com/da/login/punchout/xxxx-xxxx
Add a HOOK_URL query parameter with some random value (i.e. ?HOOK_URL=http://localhost) - https://example.com/da/login/punchout/xxxx-xxxx?HOOK_URL=http://localhost
For cXML-based:
Find the URL for the PunchOut account you wish to test in the Chainbox > PunchOut section in Umbraco Backoffice. Ie. /da/login/punchout/xxxx-xxx
Append it to your site/domain - i.e https://example.com/da/login/punchout/xxxx-xxxx
Make a HTTP POST with the follwing content to the URL replacing <USERNAME/EMAIL> and <USERPASSWORD> with username/password for the user/member.
Take the value from
StartPage>URL
in the response, URL decode it, and put it in your browser.
<?xml version = '1.0' encoding = 'UTF-8'?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.1.007/cXML.dtd">
<cXML xml:lang="en" payloadID="123" timestamp="2023-02-10T11:19:04+00:00">
<Header>
<Sender>
<Credential>
<Identity><USERNAME/EMAIL></Identity>
<SharedSecret><USERPASSWORD></SharedSecret>
</Credential>
</Sender>
</Header>
<Request>
<PunchOutSetupRequest operation="create">
<BuyerCookie>TestValue</BuyerCookie>
<BrowserFormPost>
<URL>http://localhost</URL>
</BrowserFormPost>
</PunchOutSetupRequest>
</Request>
</cXML>
Last updated