
How to add regional pricing to your Payhip store
Payhip makes it easy to sell ebooks, courses, and downloads worldwide. Out of the box, a buyer in Lagos pays the same price as a buyer in London.
Payhip doesn't have a built-in setting for country prices. But its coupons plus a small script on your store get you there. This guide shows the setup, and the one requirement to check first.
Check this first: a custom domain
Payhip lets you add header or footer code to your store, but only when the store uses your own domain, likeshop.yourname.com. If you're still on a payhip.com address, connect a domain first. Without it, there's nowhere to put the script.
Step 1: Pick your country groups
Group countries by how much you want to discount. Three groups is a good start, for example 30%, 45%, and 60% off. Our guide to choosing PPP discount percentages explains how to pick them. For a feel of real-world numbers, see why big apps charge different prices by country.
Step 2: Create the coupons in Payhip
In Payhip, go to Marketing and click Add Coupon Code. Make one coupon per group:
- Choose a percentage discount that matches the group.
- Apply it to a specific product or collection, not your whole store, unless you mean to.
- Optionally set an expiry date and a usage limit.
Use codes that don't reveal much, like WELCOME45, rather than a country name. They're easier to explain if someone outside the group finds one.
Step 3: Map the coupons in Evendeals
In Evendeals, create a deal for your Payhip product page. Then set each country group's discount and paste in the matching Payhip code. The codes must match exactly. Evendeals then shows each visitor the code for their country, or nothing if their country has no discount.
Step 4: Add the script to your store
Copy your script from the Evendeals dashboard. In Payhip, open the Store Builder, go to Change store style and then Advanced, and paste it into the footer code field. Publish your changes.
The banner appears on your store and product pages. Buyers copy the code and enter it at Payhip's checkout, where the discount applies.
Regional pricing on Payhip in four steps
Pick country groups
Three discount levels is plenty to start.
Create Payhip coupons
One per group, limited to the right product.
Map codes in Evendeals
Each group shows its matching code.
Add the script
Store Builder, Change store style, Advanced.
What to know about manual codes
Evendeals doesn't connect to Payhip directly, so it can't create or replace codes there for you. That has two effects:
- Codes don't rotate automatically. If one gets shared online, replace it in Payhip and update it in Evendeals yourself.
- Usage limits are your friend. Payhip's limit counts total uses across all buyers, so a cap on each code limits the damage from a leak.
Evendeals can still hide offers from VPN and proxy visitors, which cuts down casual abuse. Our guide to reducing coupon abuse has more ideas.
Test it yourself
Add your own country to a discount group for a few minutes, then open your store. You should see the banner and the right code. Run a test purchase with the code and check the total. Then take your country back out.
Selling on another platform too? See the country-based pricing guide for any website, or start a 14-day Evendeals trial.