Insight WooCommerce integration for Payhip

Payhip checkout on your product page
The buyer stays on your page. A Payhip payment window opens over the product, they pay, and they never go to another shop.
Payhip charges the card, sends the VAT invoice, and handles sales tax in the EU, the UK, the USA, and elsewhere. Payhip is the merchant of record.
Your WooCommerce store keeps the customer, the order, and the download. Add the Insight License Server to that same store when you also want the license key, the renewal, and the update.
What the buyer gets
- A payment window on your product page, with Payhip coupons
- A VAT invoice from Payhip, for the Payhip price
- A WooCommerce email with the download
- A license key and the update when the Insight License Server is on the store
- A WordPress account, matched by email, with a password link the first time
Payhip referrals keep working. Payhip records them, because the checkout is Payhip.
Three ways to run it
WooCommerce only
Use it for any product: a digital file, a plugin, or a physical product. Payhip takes the payment and the shipping. WooCommerce stores the account and the paid order. Downloads stay in WooCommerce. No license server is required.
WooCommerce and the license server
The paid Payhip order is a normal paid order. Insight License Server assigns the key for the variation the buyer chose, sends the download email, and serves later updates. Leave Payhip’s own license keys and Payhip’s update switch off. That switch is in the Payhip product, under Marketing.
The shop on one site, the license store on another
The public site only opens the payment window. WooCommerce and the license server live on the other site. Payhip notifies that store, and the account, the order, and the key are created there. A purchase made on Payhip itself follows the same path.
What you connect
Paste your Payhip API key into WooCommerce, then Payhip. Copy the webhook address back into Payhip, and turn on Paid and Refunded.
On each simple product, or on each variation, enter the Payhip product code. The code is the short part after /b/ in the Payhip address. The WooCommerce price stays at what the page shows. Payhip charges its own price; do make sure they are the same.
The existing WooCommerce buy button opens the window. You can also use your own button, the included Buy block, or a link:
https://payhip.com/buy?link=CODE
WooCommerce Payhip integration
Processing
- Payment window on your product page
- Payhip sends an invoice to the customer
- Payhip is the merchant of record
This means that they are responsible for the collection and remittance of VAT/sales tax.
- WooCommerce receives all the customer and order details automatically
- WooCommerce creates a Woo account for the customer
If an account with that email address already exists, the order is added to the existing account.
- WooCommerce creates the order based on the data from Payhip
This includes any coupon discounts, upgrade compensation, etc.
- If you are using Insight License Server, it creates a license key
- WooCommerce sends the confirmation, download, and license key emails
All those emails are customizable; if you do nothing, they already come with default text.
- When a refund occurs on Payhip, WooCommerce updates the order
- If your Insight License is ever used, the key will be revoked
More details
- Payhip coupons will be applied in the Payment window on your product page
- Payhip Upgrade rules will be respected
- Sell on site A and have the license key server on site B
- Allow others to sell your products on their WooCommerce shop
Just install the same WooCommerce Payhip integration plugin and provide them with the Payhip pay url (https://payhip.com/buy?link=code)
- Payhip referral codes keep working
- The plugin works works without Insight License Server
It works without, and you can sell everything, not just plugins or themes. Even physical products.

