Payhip logo

Payhip automation · runs daily

Fix Payhip download limit errors and resend download links

A buyer replies to the receipt: the link says Download Limit Exceeded, or the email never arrived at all. You open Customers, filter by their address and click through the same "..." menu, several times a week after every launch.

Cotlet does it in your own Payhip account with list_orders, get_order, reset_download_credits, resend_receipt and add_order_note, called by your AI agent, an n8n workflow or a script.

Hosted · nothing to install or maintain

Official options

Can Payhip do this on its own?

Payhip has no API for orders, download credits or receipts (checked 12 Oct 2026); its public API covers coupons and license keys only. Payhip does give buyers a Reset download credits button on the limit screen, where they type the purchase email, and an Email Update with the [download_link] tag resets credits for every buyer of one product. Neither helps a buyer who mistyped the checkout email, never got the receipt, or simply writes to you instead, so those tickets still end in the Customers page.

By hand

How you do it in Payhip today

  1. Open Customers in the Payhip top menu and click Filter Orders to search by the buyer's email address or order ID (order dates are in UTC).
  2. If no order matches, the buyer probably typed another address at checkout; Payhip lets you correct the email in the pop-up behind the "..." button of the order.
  3. Click the "..." button on the order and choose Reset Download Credits, which puts the buyer back to the Download Limit set under Account > Settings > Advanced Settings.
  4. Choose Resend Receipt from the same Payhip menu so the buyer gets the receipt with the download link again.
  5. Reply to the buyer by hand. Every ticket repeats the search and the two clicks, and a refunded order or a payment still pending at the processor is easy to overlook.

With an agent

How to fix Payhip download limit errors and resend download links

Prompt

A buyer at client@example.com says the Payhip link shows Download Limit Exceeded. Check the order, reset the credits if it was not refunded, resend the receipt and note what you did.
  1. 01

    Match the ticket to an order

    The agent searches list_orders with the address the buyer wrote from. With no match it does not guess between similar addresses; it reports the miss and asks you for the order ID or the email used at checkout. With several orders it picks the one holding the product the buyer names.

  2. 02

    Confirm the buyer should still have the file

    get_order shows the status before anything changes. A refunded or partially refunded order stops the run with a note to you, because Payhip ends access once an order is refunded and new credits would not help.

  3. 03

    Reset only when credits are the problem

    When the buyer quotes the limit message, the agent calls reset_download_credits. When the buyer only says the email never came, it skips the reset and goes straight to the receipt, so the count stays honest.

  4. 04

    Send the link again, with your OK

    resend_receipt goes to the address stored on the order. If that address looks mistyped (gmial.com, a missing letter), the agent holds the resend and tells you to fix the email in Payhip first, since resending to a typo reaches nobody.

  5. 05

    Leave a trail on the order

    add_order_note records the date and what was done. The next ticket from the same buyer shows the history, and a third reset in a month is flagged to you as a possible shared link.

What you get back

Example data

client@example.com: order ord_7K2mQx, Notion Budget Template, completed 9 Oct 2026.
Download credits reset to 5 (your store Download Limit).
Receipt resent after your OK.
Note added: "12 Oct: limit message, credits reset, receipt resent".
jana.k@gmial.com: no order found. The domain looks mistyped; ask the buyer which address they used.
mark.r@example.com: order ord_Q81pLs was refunded, so nothing was reset.

Other ways to ask

  • Every morning, go through the buyer emails labeled "Payhip downloads", fix each completed order and list the ones you could not match.
  • Resend the receipt for order ord_7K2mQx without touching the download credits; the buyer only lost the email.
  • A buyer of the Freelancer Contract Pack says the file will not download. Check their order and reset the credits only if it is not refunded.

Before you automate it

What Payhip allows, and what to know first

  • Payhip counts download credits per customer and per product, 5 by default, set in the Download Limit field under Account > Settings > Advanced Settings.
  • A Payhip reset returns the order to the current Download Limit, so lowering the store limit to fight link sharing also lowers what every later reset gives back.
  • Payhip sends receipts from contact@payhip.com, and its buyer help tells customers to check Spam, Junk and Promotions folders before writing to the seller.
  • Adding the [download_link] tag to a Customers > Email Updates message resets credits for every recipient, and Payhip says to use it only when emailing buyers of one specific product.
  • Payhip ends access to the product as soon as an order is refunded, and cancelled memberships lose their posts and lessons the same way.

resend_receipt asks for your OK by default. To run it daily without you, switch confirmation off for that tool in your dashboard.

Sources: Payhip Help: Download Limit Exceeded · Payhip Help: Customer Did Not Receive Email · Payhip Help: Did Not Receive Files or Orders · Payhip Help: Email Updates

REST

Call reset_download_credits from a script

curl

curl https://cotlet.dev/api/v1/payhip/reset_download_credits \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"order_id":"ord_7K2mQx"}'

Example response

{
  "order_id": "ord_7K2mQx",
  "email": "client@example.com",
  "download_limit": 5,
  "download_credits": 5,
  "status": "reset"
}

MCP: add https://cotlet.dev/mcp/v1 with the same key; the tool is payhip_reset_download_credits. Example data.

Schedule it in n8n, Make, Zapier or cron

Tools

Payhip tools this automation uses

Cotlet Payhip tools used to fix Payhip download limit errors and resend download links
Tool Parameters
list_orders email, order_id, product_id, status, shipping, from, to, limit, cursor
get_order order_id
reset_download_credits order_id
resend_receipt order_id
add_order_note order_id, note
All 15 Payhip tools with descriptions

Frequently asked questions

Can it raise the download limit for the whole store?

No. The limit is a store setting under Account > Settings > Advanced Settings and Cotlet does not change it. Your agent can reset any single order back to that limit.

Can the agent change the email on an order?

No, there is no Cotlet tool for that. Payhip lets you correct the address in the pop-up behind the "..." button of the order on the Customers page, and you can resend the receipt from there or ask your agent to do it afterwards.

Give your agent access to Payhip.

Free 7-day trial with 5,000 credits, no card needed. Cotlet is independent and not affiliated with Payhip.