Troubleshooting

The setup request does not say who the shopper is

Every punchout session from a buyer looks identical. You cannot personalise the catalogue, apply a per-user approval limit, or send an order acknowledgement to the person who shopped.

Short answer

cXML has no single mandatory field for the shopper. User details arrive as Extrinsic elements whose names the buyer chooses — UserEmail is common, and Coupa’s sample request carries it — or in a Contact element, or not at all. Log the full raw request before writing any lookup, then agree with the buyer which field they will send and treat its absence as normal rather than as an error.

Causes, most likely first

Ordered by how often each one turns out to be the culprit, not by how interesting it is. Work down the list.

  1. The value is there under a name you do not read

    How to confirm: Search the raw request for an @ sign. Extrinsics such as UserEmail, User or UniqueName, or a Contact element with an Email child, are all in use, and a lookup for one name misses the others.

    Fix: Read Extrinsic values by name case-insensitively and check Contact as well. Make the field name a per-buyer setting rather than a constant in code.

  2. The buyer has not configured their system to send it

    How to confirm: The request carries the BuyerCookie, credentials and BrowserFormPost and nothing about the person. Which extrinsics go out is a buyer-side configuration, and the default set is often thinner than suppliers expect.

    Fix: Ask the buyer to add the user email to the extrinsics sent to your catalogue. It is a configuration change on their side and needs no work on yours beyond reading it.

  3. Your parser stops at the first element it does not expect

    How to confirm: Extrinsic elements sit between BuyerCookie and BrowserFormPost. A parser written against one buyer’s sample, walking children in a fixed order, skips or fails on a request with more extrinsics than the sample had.

    Fix: Select elements by name rather than by position, and log any you did not recognise instead of discarding them.

  4. The value is present and is not an email address

    How to confirm: The field named UserEmail carries a login name, an employee number or a shared mailbox. Some buyer systems populate it from whatever identity attribute they hold.

    Fix: Treat it as an opaque user key, not as something you can send mail to. If you need a deliverable address, ask the buyer for one explicitly.

If it is not on your side

Send the buyer the list of fields you received, values redacted, and name the one field you need added. A specific request for one extrinsic gets actioned; a request to "send user details" does not.

Check the document itself

Before chasing “The setup request does not say who the shopper is” further, paste the cXML or OCI payload into our free tester. It runs in your browser and reports the structural problems buyers reject on. The interactive demo plays the whole round trip from the buyer's seat.

Open the tester Play the demo

Related questions

Can we require the shopper to log in to our site instead?

You can, and buyers dislike it. The point of punchout is that their system has already authenticated the shopper. A second login is friction on every session and a password to manage for every requisitioner.

Is it safe to create accounts automatically from UserEmail?

Only scoped to the buyer organisation the credentials identified. The value comes from the buyer’s system, so it is as trustworthy as that system, but it should never let one buyer’s request reach another buyer’s data.

Rather not be the one debugging this?

A free PunchOut shop runs the PunchOut round trip for you: upload from Excel, test it, invite your buyer.

Start free Send us the error