NewThe tragent CLI is on npm: npx @tragent/cli scan your-store.com

Issue reference

The payment authorisation does not check out

Issue code
AP2_MANDATE_INVALID
Stage
Any
Protocol
AP2
Severity
High

What it means

It concerns AP2, the payment authorisation. The Agent Payments Protocol. It proves a real person authorised the agent to spend, so you are not taking an agent's word for it.

What it does to an agent

Most agents fail at this point. The few that find a way round it spend more time and model calls doing so, and may give up before checkout.

How to fix it

Validate the mandate's structure and signature chain before acting on it.

Check the fix

Run the check that reported AP2_MANDATE_INVALID again after the change. The scan needs no account; an issue found during an AI shopping test needs that test run again.

Terminal
npx @tragent/cli scan https://your-store.com