Skip to content

makecryptoio/makepay-hubspot-connector

Repository files navigation

MakePay HubSpot Connector

Private-app connector for creating MakePay payment links from HubSpot deals and writing the resulting link back to HubSpot.

Features

  • Fetches HubSpot deals through the CRM v3 Deals API.
  • Creates MakePay hosted payment links using deal name, amount, currency, and metadata.
  • Updates HubSpot deal properties with the MakePay URL and UID.
  • Verifies MakePay webhooks with X-MakePay-Signature.
  • Includes a small Node HTTP server for private app or workflow action usage.

Configuration

HUBSPOT_PRIVATE_APP_TOKEN=...
MAKEPAY_KEY_ID=...
MAKEPAY_KEY_SECRET=...
MAKEPAY_WEBHOOK_SECRET=...
MAKEPAY_BASE_URL=https://www.makecrypto.io
HUBSPOT_PAYMENT_LINK_PROPERTY=makepay_payment_link
HUBSPOT_PAYMENT_LINK_UID_PROPERTY=makepay_payment_link_uid

Create the HubSpot deal properties before enabling deal updates.

HTTP Server

npm start

Routes:

  • POST /hubspot/deals/:dealId/payment-link
  • POST /makepay/webhooks

HubSpot App Card Direction

HubSpot's current app cards and UI extensions can call serverless functions or a private connector. This repo focuses on the server-side connector that those cards or workflow actions can call safely without exposing MakePay credentials to the browser.

Development

npm ci
npm test
npm run validate

About

HubSpot private-app connector for MakePay payment links and signed webhooks. 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