# Send a Payment Link for a Phone Order

> Takes an order by phone or email, checks stock, and creates a Payplug payment link after your OK.

- Job: [Orders & fulfilment](https://storeagent.ai/mcp-recipes/job/orders/)
- What it does: Asks first: changes your store, only after you say yes
- Time saved: ~10 min vs doing it by hand
- Requires: StoreAgent (free plugin, MCP on every plan) + Payplug
- Works in: Claude, ChatGPT, Cursor and any MCP client connected to the store through StoreAgent MCP
- Web page: https://storeagent.ai/mcp-recipes/payplug-phone-order-link/

## The prompt

```text
A customer just ordered by phone. Their email is [customer email] and they want [quantity and product names]. Find their customer account and last billing address in my WooCommerce orders. Find each product, with its ID, price and stock, and tell me if anything is out of stock. Show me the order total and the address you will use, and ask me to confirm. After I confirm, create a Payplug payment link for that order and give me the link and the order number, plus a two line message I can send with it.
```

## What happens when you paste it

You: A customer just ordered by phone…

Assistant: Claire Martin has an account and 3 past orders, billing address in Lyon. 2 Linen Throws and 1 Oak Serving Board are in stock. Total: 147.00 EUR. Calling: `woocommerce/orders-query`, `woocommerce/products-query`, `payplug/create-payment-link`.

Assistant: This will make changes in WooCommerce. Do you want me to go ahead?

Assistant: After your OK, order #4821 was created with a Payplug payment link. The link and a short message for Claire are ready to send.

## Abilities this recipe calls

- **Find orders** (`woocommerce/orders-query`, read only, from WooCommerce): Finds orders by status, customer, email or date, with the items in each order.
- **Find products** (`woocommerce/products-query`, read only, from WooCommerce): Finds products by name, SKU, status, type or stock status, with prices and stock.
- **Create a payment link** (`payplug/create-payment-link`, asks first, from Payplug): Creates an order for a customer and a Payplug link they can use to pay for it online.

## Variations

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

- Ship to the address on their most recent order instead of the billing address.
- Write the message in French.

## Related recipes

- [Are Stuck Tasks Holding Up My Orders?](https://storeagent.ai/mcp-recipes/booster-stuck-orders.md): Line up overdue Booster tasks with orders sitting in Pending or On hold, so you know where to look before customers ask.
- [Check Which Order Alerts Are Switched On](https://storeagent.ai/mcp-recipes/pushengage-order-alert-audit.md): Lists every PushEngage push and WhatsApp alert for WooCommerce order events, shows which are off, and matches them to your real order volume.
- [Find Late and Stuck Shipments](https://storeagent.ai/mcp-recipes/trackship-stuck-shipments.md): Every late or stuck parcel with the customer behind it, so you can reach out before they email you.

---

Part of the StoreAgent WooCommerce MCP Recipes directory: https://storeagent.ai/mcp-recipes/ (index for LLMs: https://storeagent.ai/mcp-recipes/llms.txt). Get StoreAgent free: https://app.storeagent.ai/sign-up/
