Capture of $58.00 rejected by PayPal (PAYER_CANNOT_PAY), goods already shipped
- Status
- Needs you
- At risk
- $58.00
- Deadline, UTC
- 2026-11-25 17:02
- Detected (detector clock)
- 2026-10-27 17:02
Diagnosis
AI agent (anthropic/claude-haiku-5.5)The shop shipped 2 x 500g House Espresso and tried to collect the $58.00 payment, but PayPal refused because the buyer's PayPal could not pay (PAYER_CANNOT_PAY, probably a funding or payment-method problem on the buyer's side). The $58.00 is still reserved on the buyer's account and stays collectible for 29 days, until 2026-11-25. If nobody acts, the money is lost once that window closes, and the shop has already shipped the coffee.
Decisions
The agent proposes, the policy gate decides, the executor calls PayPal.
Ask the owner
Waiting for youAgent proposed
The buyer's payment failed, and retrying a declined capture or changing the buyer's payment method needs the owner to reach out to the buyer first.
Note: PayPal could not collect the $58.00 for the shipped order 24J06772VS081570B (buyer night-owl-mvqxnyg7659@example.com). Do you want to contact the buyer and ask them to fix their PayPal payment method (for example a new card or bank) before the reservation
Policy said
Needs approval- The agent asked for a human decision.
PayPal returned
No PayPal call for this action.
Evidence
1 capture attempt(s) on authorization 4L329743M9050293D failed. The last one returned HTTP 422 UNPROCESSABLE_ENTITY PAYER_CANNOT_PAY (debug id ca51344dd1aa4). The authorization is still CREATED with $58.00 uncaptured.
- authorization id
- 4L329743M9050293D
- authorization status
- CREATED
- order id
- 24J06772VS081570B
- fulfillment
- shipped
- failed attempts
- 1
- last http status
- 422
- last error name
- UNPROCESSABLE_ENTITY
- last error issue
- PAYER_CANNOT_PAY
- last debug id
- ca51344dd1aa4
- last attempt at
- 2026-10-27T17:02:32.645Z
- attempted by
- shop
- uncaptured
- $58.00
24J06772VS081570Bauthorization4L329743M9050293DAll ids are real PayPal sandbox objects; GET them with your sandbox credentials to check.
Audit trail
Detected, diagnosed, decided, executed. Live.
ledger_lookupNightshift ledgerokResult
{"order":{"id":"24J06772VS081570B","intent":"AUTHORIZE","status":"COMPLETED","amountCents":5800,"currency":"USD","payer":"night-owl-mvqxnyg7659@example.com","cartRef":"cart-62683","description":"House Espresso, 2 x 500g","fulfillment":"shipped","shippedAt":"2026-10-27T17:02:07.620Z","createdAt":"2026-10-27T17:02:07.000Z","updatedAt":"2026-10-27T17:02:32.459Z","source":"scenario","scenario":"lab_mvqxnfgj"},"buyer_note_untrusted":null,"authorizations":[{"id":"4L329743M9050293D","orderId":"24J06772VS081570B","status":"CREATED","amountCents":5800,"currency":"USD","createdAt":"2026-10-27T17:02:31.000Z","expiresAt":"2026-11-25T17:02:31.000Z","updatedAt":"2026-10-27T17:02:32.462Z"}],"captures":[],"refunds":[],"failed_capture_attempts":[{"id":"att_de84f8126f38","orderId":"24J06772VS081570B","authorizationId":"4L329743M9050293D","at":"2026-10-27T17:02:32.645Z","ok":false,"httpStatus":422,"errorName":"UNPROCESSABLE_ENTITY","errorIssue":"PAYER_CANNOT_PAY","debugId":"ca51344dd1aa4","source":"shop"}]}get_authorizationvia Nightshift REST clientokResult
{"id":"4L329743M9050293D","status":"CREATED","amount":{"currency_code":"USD","value":"58.00"},"custom_id":"cart-62683","seller_protection":{"status":"NOT_ELIGIBLE"},"supplementary_data":{"related_ids":{"order_id":"24J06772VS081570B"}},"payee":{"email_address":"sb-djk8i53501233@business.example.com","merchant_id":"D8M8MT98DPNNG"},"expiration_time":"2026-11-25T17:02:31Z","create_time":"2026-10-27T17:02:31Z","update_time":"2026-10-27T17:02:31Z","links":[{"href":"https://api.sandbox.paypal.com/v2/payments/authorizations/4L329743M9050293D","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v2/payments/authorizations/4L329743M9050293D/capture","rel":"capture","method":"POST"},{"href":"https://api.sandbox.paypal.com/v2/payments/authorizations/4L329743M9050293D/void","rel":"void","method":"POST"},{"href":"https://api.sandbox.paypal.com/v2/payments/authorizations/4L329743M9050293D/reauthorize","rel":"reauthorize","method":"POST"},{"href":"https://api.sandbox.paypal.com/v2/checkout/orders/24J06772VS081570B","rel":"up","method":"GET"}]}get_ordervia PayPal Agent ToolkitokResult
{"id":"24J06772VS081570B","intent":"AUTHORIZE","status":"COMPLETED","payment_source":{"paypal":{"email_address":"night-owl-mvqxnyg7659@example.com","account_id":"6MXJGVVC6FVRN","account_status":"UNVERIFIED","name":{"given_name":"Sandbox","surname":"Sandbox Buyer B"},"address":{"country_code":"US"}}},"purchase_units":[{"reference_id":"default","amount":{"currency_code":"USD","value":"58.00","breakdown":{}},"payee":{"email_address":"sb-djk8i53501233@business.example.com","merchant_id":"D8M8MT98DPNNG","display_data":{"brand_name":"Night Owl Coffee Roasters"}},"description":"House Espresso, 2 x 500g","custom_id":"cart-62683","soft_descriptor":"PAYPAL *TEST STORE NIG","payments":{"authorizations":[{"status":"CREATED","id":"4L329743M9050293D","amount":{"currency_code":"USD","value":"58.00"},"custom_id":"cart-62683","seller_protection":{"status":"NOT_ELIGIBLE"},"expiration_time":"2026-11-25T17:02:31Z","links":[{"href":"https://api.sandbox.paypal.com/v2/payments/authorizations/4L329743M9050293D","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v2/payments/authorizations/4L329743M9050293D/capture","rel":"capture","method":"POST"},{"href":"https://api.sandbox.paypal.com/v2/payments/authorizations/4L329743M9050293D/void","rel":"void","method":"POST"},{"href":"https://api.sandbox.paypal.com/v2/payments/authorizations/4L329743M9050293D/reauthorize","rel":"reauthorize","method":"POST"},{"href":"https://api.sandbox.paypal.com/v2/checkout/orders/24J06772VS081570B","rel":"up","method":"GET"}],"create_time":"2026-10-27T17:02:31Z","update_time":"2026-10-27T17:02:31Z"}]}}],"payer":{"name":{"given_name":"Sandbox","surname":"Sandbox Buyer B"},"email_address":"night-owl-mvqxnyg7659@example.com","payer_id":"6MXJGVVC6FVRN","address":{"country_code":"US"}},"create_time":"2026-10-27T17:02:31Z","update_time":"2026-10-27T17:02:31Z","links":[{"href":"https://api.sandbox.paypal.com/v2/checkout/orders/24J06772VS081570B","rel":"self","method":"GET"}]}- The agent asked for a human decision.