Payhip

Sell digital products on Payhip while AI handles every buyer question

Payhip powers sales of digital downloads, courses, memberships, and physical goods. Your AI agent processes purchase confirmations, refund events, and subscription lifecycle changes in real time. Buyers get instant answers about their orders, and your team focuses on creating instead of supporting.

Chosen by 800+ global brands across industries

Sales and subscription events, handled live

Your AI agent processes Payhip webhook events for purchases, refunds, and subscriptions, turning transaction signals into immediate conversational responses.

Payhip

Use Cases

Digital commerce support, fully automated

Payhip handles your sales. Your AI agent handles every customer question that follows, from order confirmations to subscription management.

Instant Purchase Confirmation for Digital Buyers

A customer buys an ebook from your Payhip store at midnight. Your AI agent receives the paid webhook, confirms the transaction amount and items, and sends a personalized confirmation message with download instructions. The buyer gets immediate reassurance without waiting for a manual email. Fewer 'Did my payment go through?' support tickets.

Proactive Refund Updates That Prevent Frustration

A buyer requests a refund for a course they did not enjoy. Once processed, the agent receives Payhip's refund webhook, confirms the refund amount and original purchase date, and messages the customer with a timeline for the credit to appear. The buyer knows exactly when to expect their money back without reaching out to support.

Subscription Cancellation Rescue with Retention Offers

A membership subscriber cancels their Silver Plan. Your AI agent processes the subscription.deleted event, identifies the customer, and initiates a retention conversation offering a discount or plan switch. Some subscribers reconsider when presented with alternatives. The ones who leave get a graceful exit with confirmation details.

Try
Payhip

Payhip

FAQs

Frequently Asked Questions

What Payhip events can the AI agent process?

The agent handles four webhook event types: paid (purchase completed), refunded (payment refunded), subscription.created (new subscription started), and subscription.deleted (subscription canceled). Each event carries detailed payload data including customer email, amounts, items, timestamps, and payment method.

How does the agent verify that webhook data actually comes from Payhip?

Every Payhip webhook payload includes a signature field containing an HMAC-SHA256 hash generated with your API key. The agent validates this signature before processing any event, ensuring that only authentic Payhip events trigger actions. This prevents spoofed requests from affecting your workflow.

Can the agent tell if a purchase was a gift?

Yes. Payhip's paid webhook includes an is_gift boolean field. The agent can detect gift purchases and adjust its response accordingly, for example by sending delivery instructions to the gift recipient's email rather than the buyer's, or acknowledging the gift nature of the transaction.

What subscription details does the agent capture on cancellation?

The subscription.deleted event includes customer email, first and last name, plan name, product name, subscription ID, start date, deletion date, and GDPR consent status. The agent has full context to personalize retention offers or confirm cancellation details.

Does the agent handle VAT and fee breakdowns from Payhip?

Yes. Purchase and refund events include vat_applied status, Payhip platform fees, Stripe processing fees, and the total price in the transaction currency. The agent can answer detailed billing questions like 'What fees were charged on my purchase?' with exact amounts.

How do I set up Payhip webhooks to work with Tars?

In your Payhip Developer settings, create webhooks for each event type you want to process: paid, refunded, subscription.created, and subscription.deleted. Point each webhook to your Tars agent's endpoint URL. The agent will start receiving and processing events as they occur.

Does Tars store my Payhip customer transaction data?

Tars processes webhook payloads in real time to generate responses. Transaction data is used within the conversation context and is not stored in a separate database. Conversation logs may contain details shared with customers, but raw Payhip payloads are not persisted independently.

How is this different from Payhip's built-in email notifications?

Payhip sends transactional emails for purchases and refunds. Tars adds a conversational layer where the AI agent can respond to webhook events with personalized messages, answer follow-up questions, offer retention incentives on cancellation, and route complex issues to human support. It is interactive, not just informational.

How to add Tools to your AI Agent

Supercharge your AI Agent with Tool Integrations

Don't limit your AI Agent to basic conversations. Watch how to configure and add powerful tools making your agent smarter and more functional.

Privacy & Security

We’ll never let you lose sleep over privacy and security concerns

At Tars, we take privacy and security very seriously. We are compliant with GDPR, ISO, SOC 2, and HIPAA.

GDPR
ISO
SOC 2
HIPAA

Still scrolling? We both know you're interested.

Let's chat about AI Agents the old-fashioned way. Get a demo tailored to your requirements.

Schedule a Demo