GoPayLocal
Demo

Try it as your customers see it

This is the live banner, running the discount tiers every new account starts with. Pick a country and the price changes with it.

Visitor country

Abuse check

Max discount

A real campaign setting โ€” every tier is capped at this number.

yourstore.com/pricingYour site

Pricing

One plan. Everything included.

Your product

$49.00$17.15

Code PPP-IN65-K7QX takes 65% off at checkout.

It looks like you're visiting from India! Use code PPP-IN65-K7QX for 65% off.Powered by GoPayLocal

Banner shown โ€” India, 65% off

One code per country, created once and reused for every visitor from India. The random suffix stops anyone guessing another countryโ€™s code.

GET /v1/banner/config โ†’ { "show": true, "country": "IN", "discount": 65, "code": "PPP-IN65-K7QX" }

Message, colors and position are campaign settings. The โ€œPowered by GoPayLocalโ€ link only appears on the Free plan.

Embed snippet
<!-- Add to your website's <head> or before </body> -->
<script src="https://api.gopaylocal.com/v1/banner/script.js?key=YOUR_PUBLIC_KEY" async></script>

That is the entire integration. Everything above is decided at the edge, per visitor.

How this works in production

Three moving parts, none of them yours to run.

01

Edge geo-detection

The script loads from the Cloudflare edge and reads the visitor country from the request. No IP database to maintain, no extra round trip to your server.

02

Your rules decide

The country is matched against the parity groups and caps set in your dashboard. VPN and datacenter traffic is filtered out before a discount is offered.

03

Codes created for you

The coupon is created in your payment provider โ€” Stripe, Paddle, LemonSqueezy, Gumroad, Chargebee, Dodo, Polar or Whop โ€” and reused on every later visit from that country.

Start free Read the docs

The Free plan is enough to run this on a live site.