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.
-
Get your Gumroad API key
Go to Gumroad Settings > Advanced > API. Copy your access token.
-
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.
-
Create a campaign
Select Gumroad as the payment provider in your campaign settings. Choose the Gumroad product to associate with your GoPayLocal product.
How Discounts Work
Section titled “How Discounts Work”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’s Built-in PPP
Section titled “Gumroad’s Built-in PPP”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.
Auto-Apply
Section titled “Auto-Apply”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 codewindow.open('https://yourname.gumroad.com/l/product?offer_code=PPP-INDIA-30');Test Mode
Section titled “Test Mode”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
Webhooks
Section titled “Webhooks”Webhook handling for Gumroad is planned. Currently, discount code creation and checkout integration work fully. Redemption tracking via webhooks is on the roadmap.
Limitations
Section titled “Limitations”- 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