Integrations Overview
Overview of all payment provider integrations supported by GoPayLocal.
GoPayLocal integrates with 8 payment providers to automatically create and manage discount codes. Connect your provider in the dashboard, and GoPayLocal handles coupon creation, synchronization, and auto-apply.
Supported Providers
Section titled “Supported Providers”| Provider | Discount Type | Auto-Apply | Test Mode | Native PPP |
|---|---|---|---|---|
| Dodo Payments | Percentage / Flat | Yes | Yes | No |
| Stripe | Coupons + Promo Codes | Yes | Yes | No |
| Paddle | Price Overrides + Discounts | Yes | Yes (Sandbox) | Partial |
| Lemon Squeezy | Store Discounts | Yes | No | No |
| Gumroad | Offer Codes | No | No | Built-in toggle |
| Chargebee | Coupons | No | Yes | No |
| Whop | Promo Codes | Yes | No | No |
| Polar | Discounts (basis points) | No | Yes (Sandbox) | No |
How Integrations Work
Section titled “How Integrations Work”- Connect — Add your provider’s API key in the GoPayLocal dashboard
- Sync — GoPayLocal creates discount codes in your provider for each parity tier
- Serve — The banner script shows the correct coupon code for each visitor
- Track — Redemptions are tracked via webhooks from your provider
GoPayLocal Dashboard → Create discount codes → Payment Provider ↓Visitor sees banner → Copies code → Applies at checkout ↓Payment Provider → Webhook → GoPayLocal (track redemption)Auto-Apply
Section titled “Auto-Apply”Some providers support auto-applying discounts at checkout — the visitor never needs to copy a coupon code. This is implemented differently per provider:
| Provider | Auto-Apply Method |
|---|---|
| Dodo Payments | discount_code in checkout session |
| Stripe | discounts array in Checkout Session, or ?prefilled_promo_code= on Payment Links |
| Paddle | unitPriceOverrides on Price objects |
| Lemon Squeezy | ?checkout[discount_code]= URL param |
| Whop | ?promoCode= URL param |
See the Auto-Apply guide for implementation details.
Connecting a Provider
Section titled “Connecting a Provider”- Go to the Dashboard
- Navigate to Settings > Integrations
- Click Connect next to your provider
- Enter your API key (use test/sandbox keys for development)
- GoPayLocal verifies the connection and creates initial discount codes
Webhook Setup
Section titled “Webhook Setup”GoPayLocal receives webhooks from your payment provider to track coupon redemptions. The webhook URL is:
https://api.gopaylocal.com/v1/webhooks/{provider}Most providers configure webhooks automatically when you connect via the dashboard. For providers that require manual setup, follow the provider-specific guide.
Discount Code Format
Section titled “Discount Code Format”GoPayLocal generates coupon codes with a configurable prefix:
{prefix}-{COUNTRY}-{DISCOUNT}For example, with prefix PPP:
PPP-INDIA-30— 30% off for IndiaPPP-BRAZIL-25— 25% off for BrazilPPP-NIGERIA-50— 50% off for Nigeria
The prefix is configured per campaign in the dashboard.