Skip to content

Gumroad

Integrate GoPayLocal with Gumroad for PPP offer codes.

Gumroad is a popular platform for selling digital products. GoPayLocal creates offer codes (Gumroad’s term for discount codes) per product.

  1. Get your Gumroad API key

    Go to Gumroad Settings > Advanced > API. Copy your access token.

  2. Connect in GoPayLocal

    Go to your GoPayLocal dashboard > Settings > Integrations > Gumroad and click Connect. Enter your access token in the dialog.

    Click Test after connecting to verify your credentials.

  3. Create a campaign

    Select Gumroad as the payment provider in your campaign settings. Choose the Gumroad product to associate with your GoPayLocal product.

GoPayLocal creates offer codes per Gumroad product:

{
"product_id": "xxx",
"name": "PPP-INDIA-30",
"amount_off": 30,
"offer_type": "percent"
}

Visitors enter the offer code at Gumroad’s checkout page.

Gumroad has a built-in PPP toggle in product settings. However, it is basic and does not support:

  • Custom discount tiers
  • Charm pricing
  • VPN detection
  • A/B testing
  • Analytics

GoPayLocal provides a more powerful PPP implementation on top of Gumroad’s platform.

Gumroad does not support auto-applying offer codes via URL parameters. Visitors must manually enter the code at checkout.

However, you can pre-fill the offer code using Gumroad’s overlay:

// Gumroad overlay with offer code
window.open('https://yourname.gumroad.com/l/product?offer_code=PPP-INDIA-30');

Gumroad does not have a sandbox environment. For testing:

  • Create a test product with a low price ($1)
  • Use real payment methods
  • Refund test purchases manually

Webhook handling for Gumroad is planned. Currently, discount code creation and checkout integration work fully. Redemption tracking via webhooks is on the roadmap.

  • No true sandbox/test mode
  • Offer codes are per-product (not store-wide)
  • No auto-apply via checkout parameters
  • Limited API compared to Stripe/Paddle
  • Cannot set usage limits on offer codes via API