Payhip Plugin for Typemill
Integrate Payhip products into Typemill using simple shortcodes. Supports links, buttons, and embedded checkout pages.

Features
- Sell multiple Payhip products via shortcode
- Three integration modes:
- Link
- Button (with Payhip overlay or fallback)
- Embedded checkout page (iframe)
- Customizable button styles (colors, spacing, border)
- Safe fallback if JavaScript is blocked
- Lightweight and Markdown-friendly
Installation
- Copy the plugin into your Typemill plugins directory: /plugins/payhip/
- Activate the plugin in the Typemill backend
Usage
Add the shortcode to any Markdown page:
[payhip product="WKTrc"]
Available attributes
- product → Payhip product ID (required)
- mode → Display mode: link, button, page
- text → Custom button or link text
- class → Optional CSS class
Examples
Button (default):
[payhip product="WKTrc" mode="button" text="Buy now"]
Simple link:
[payhip product="WKTrc" mode="link"]
Embedded checkout page:
[payhip product="WKTrc" mode="page"]
Styling
The plugin uses Payhip’s default styles and allows controlled overrides.
- Background color
- Text color
- Border color
- Border radius
- Padding
These styles are applied safely without breaking Payhip functionality.