Skip to content

Payhip ​

Setup ​

  1. SunLicense: Integrations → Payhip → Connect. Map product IDs or product keys (the RGsF in payhip.com/b/RGsF) to policies, or *, and paste your Payhip API key (Settings → Developer).
  2. Payhip Settings → Developer → Webhooks: add the hook URL and tick paid and refunded.
  3. For buyers to get the key: if the product has Payhip's software license keys on, buyers already have it and SunLicense uses the same key. Otherwise link the integration's redeem page; buyers enter their order ID and email.

Behaviour ​

  • paid: one license per item of the order.
  • refunded: revokes the order's licenses.
  • Subscription events are logged and ignored.

About Payhip's signature

Payhip signs webhooks with signature = sha256(API key). That value is the same on every request, so it proves the sender knows your API key but not that the body is untouched. The unguessable hook URL is the other half of the check.

Send feedback

Found something broken, or have an idea? It goes straight to our board.

The first line becomes the title.
Images (optional, up to 5: paste, drop or capture)
Check each image before sending, and remove any that show something private.

We also receive this page's address and your browser version.

Ctrl Enter to send