Ghost theme and Code Injection helpers for MakePay hosted checkout links, backed by a server-side relay.
- Ghost Handlebars partial for checkout buttons.
- Code Injection snippet for quick install.
- Browser embed that posts product IDs to a MakePay relay.
- Relay-owned product catalog and MakePay credentials.
- MakePay webhook verification.
Copy theme/partials/makepay-button.hbs into your Ghost theme partials and
render it where needed:
Add the script in Ghost Code Injection or your theme footer:
<script src="https://payments.example.com/embed.js"
data-makepay-relay="https://payments.example.com"
defer></script>npm startMAKEPAY_KEY_ID=...
MAKEPAY_KEY_SECRET=...
MAKEPAY_WEBHOOK_SECRET=...
MAKEPAY_PRODUCTS_JSON='{"membership":{"title":"Membership","amount":"9.00","currency":"USD"}}'Ghost supports custom integrations, Admin API keys, webhooks, Code Injection, and Handlebars themes. This repository focuses on theme/code checkout helpers and leaves Admin API member automation for the roadmap.
npm test
npm run validate