BrowserFormPost
BrowserFormPost is the element in a cXML PunchOutSetupRequest that holds the URL where the supplier must send the finished shopping cart, posted as an HTML form through the buyer’s browser.
When a buyer starts a PunchOut session, the procurement system includes <BrowserFormPost><URL>…</URL></BrowserFormPost> in its PunchOutSetupRequest. Your endpoint stores that URL against the session. When the buyer clicks your transfer button, your page renders a form whose action is that URL, with the PunchOutOrderMessage in a hidden field named cxml-urlencoded, and the browser submits it.
The name describes the mechanism: the post goes through the browser, not from your server. The return URL is usually only meaningful inside the buyer’s logged-in session, so a server-to-server POST typically fails or arrives in a session that does not exist. The DTD marks the element optional, but without it there is nowhere to return the cart, so a PunchOut endpoint should treat it as required.
Two mistakes cause most lost carts. The first is posting to a return URL saved in configuration instead of the one in each request; the URL can change per user, per session or per system. The second is decoding it twice: query strings arrive XML-escaped as &, the XML parser already turns that into &, and decoding again corrupts the address.
<BrowserFormPost>
<URL>https://procurement.buyer.example/punchout/return?session=4471&lang=de</URL>
</BrowserFormPost> Go deeper
Related terms
Has a buyer asked you for PunchOut?
Reading up on BrowserFormPost because of it? A free PunchOut shop gets you a catalogue your buyer can test: upload it from Excel, run a cXML or OCI round trip yourself and invite them. Free until they go live.
Start free Talk to us instead