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 XML-content type) with the content below to the URL replacing
<USERNAME/EMAIL>and<USERPASSWORD>with username/password for the user/member. (ie.curl -H "Content-Type: application/xml" --data @punch.xml -v https://example.com/da/login/punchout/cxml/xxxx-xxx) - Take the value from
StartPage>URLin 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>
Why are punchout orders stuck on "processing"?
If theres issues with punchout orders getting stuck on the "Your order is being processed. please wait ..." screen, try checking your CSP setup.
If the HOOK_URL used from the punchout system is registered as an error, that might be the cause.