New: connect Claude, ChatGPT or Cursor to your WooCommerce store. See how →

StoreAgent
Orders & fulfilment recipe

Cancel Orders That Never Got Paid

Finds orders stuck in Pending payment for over a week and cancels them, so your order list shows only real orders.

WHAT IT DOES asks first Changes your store, only after you say yes
TIME SAVED ~20 min vs doing it by hand
REQUIRES
StoreAgentFree plugin · MCP on every plan
Connect your store
THE PROMPT
Find all orders that have been in Pending payment for more than 7 days. Show me the order number, customer email, total, payment method, items and how long each has been waiting. Point out any customer who placed a paid order after the pending one, since they probably just tried again. Wait for my OK, then cancel only the orders I approve and add a private note to each that says it was cancelled for no payment.
PASTE INTO ClaudeChatGPTCursor+ any MCP client
WHAT HAPPENS NEXT

What Happens When You Paste It

Your assistant picks the right abilities, pulls live data from your store and does the work. Here’s roughly how the conversation goes.

1
It reads first. Read abilities run straight away, so it’s working from your real catalog, not guessing.
2
It checks with you. Anything that writes to your store stops and asks before it goes ahead.
3
It’s all logged. Every ability call shows up in wp-admin, so you can see exactly what changed.
Claude · connected to your store
yourstore.com · via StoreAgent MCP
Live
Find all orders that have been in Pending payment for more than 7 days…
Found 9 orders in Pending payment for over 7 days, worth $1,240. 4 of those customers placed a paid order later. Calling:
woocommerce/orders-querydone
woocommerce/order-update-statusdone
CONFIRM BEFORE WRITING
This will make changes in WooCommerce. Do you want me to go ahead?
Yes, applyShow me first
Cancelled the 5 orders you approved, each with a private note. I left the 4 where the customer paid on a later order, as you asked.
UNDER THE HOOD

Abilities This Recipe Calls

Make sure these are switched on in your StoreAgent MCP settings. You can turn any of them off at any time.

read only
Finds orders by status, customer, email or date, with the items in each order.
woocommerce/orders-query
asks first
Moves an order to a new status, like Completed or Cancelled, with an optional note.
woocommerce/order-update-status
MAKE IT YOURS

Tweak It for Your Store

Add one of these to the end of the prompt. Swap anything in [brackets] for your own details.

+ Use [3] days instead of 7.
+ Leave out orders paid by [payment method].
StoreAgent

PO BOX 4362
Gumdale QLD 4154
Australia

Our Brands

© 2026 Rymera Web Co Pty Ltd. All Rights Reserved. ABN 51 604 474 213. Privacy Policy · Terms of Service · Data Processing Addendum · Affiliate Disclosure