Whop
Integrate GoPayLocal with Whop for PPP promo codes.
Whop is a platform for selling access to digital products, communities, and software. GoPayLocal creates promo codes in Whop for PPP discounts.
-
Get your Whop API key
Go to the Whop Dashboard > Settings > Developer > API Keys. Create a new API key.
-
Connect in GoPayLocal
Go to your GoPayLocal dashboard > Settings > Integrations > Whop and click Connect. Enter your API key in the dialog.
Click Test after connecting to verify your credentials.
-
Create a campaign
Select Whop as the payment provider in your campaign settings.
How Discounts Work
Section titled “How Discounts Work”GoPayLocal creates promo codes in Whop via their API:
{ "code": "PPP-INDIA-30", "percentage_off": 30, "plan_id": "plan_xxx"}Auto-Apply
Section titled “Auto-Apply”Whop supports auto-applying promo codes via the promoCode URL parameter:
https://whop.com/yourproduct/?promoCode=PPP-INDIA-30This pre-fills the promo code at checkout so the visitor sees the discounted price immediately.
Test Mode
Section titled “Test Mode”Whop does not have a dedicated sandbox environment. For testing:
- Create a test product with a low price
- Use the
promoCodeparameter to verify codes work - Delete test promo codes after testing
Webhooks
Section titled “Webhooks”Webhook handling for Whop is planned. Currently, discount code creation and checkout integration work fully. Redemption tracking via webhooks is on the roadmap.
Limitations
Section titled “Limitations”- No dedicated sandbox/test environment
- Promo codes are scoped to specific plans
- Limited discount customization options
- API documentation is less mature than Stripe/Paddle