Skip to content

makecryptoio/makepay-ghost

Repository files navigation

MakePay Ghost Integration

Ghost theme and Code Injection helpers for MakePay hosted checkout links, backed by a server-side relay.

Features

  • 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.

Theme Usage

Copy theme/partials/makepay-button.hbs into your Ghost theme partials and render it where needed:

{{> "makepay-button" product="membership" label="Pay with MakePay"}}

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>

Relay

npm start
MAKEPAY_KEY_ID=...
MAKEPAY_KEY_SECRET=...
MAKEPAY_WEBHOOK_SECRET=...
MAKEPAY_PRODUCTS_JSON='{"membership":{"title":"Membership","amount":"9.00","currency":"USD"}}'

Ghost Direction

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.

Development

npm test
npm run validate

About

Ghost theme helpers and relay for MakePay hosted checkout. Cryptocurrency payment gateway for direct self-custody merchant-wallet settlement, decentralized swaps, and 70+ coin/20+ chain auto-conversion.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors