Skip to content

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.

  1. Get your Whop API key

    Go to the Whop Dashboard > Settings > Developer > API Keys. Create a new API key.

  2. 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.

  3. Create a campaign

    Select Whop as the payment provider in your campaign settings.

GoPayLocal creates promo codes in Whop via their API:

{
"code": "PPP-INDIA-30",
"percentage_off": 30,
"plan_id": "plan_xxx"
}

Whop supports auto-applying promo codes via the promoCode URL parameter:

https://whop.com/yourproduct/?promoCode=PPP-INDIA-30

This pre-fills the promo code at checkout so the visitor sees the discounted price immediately.

Whop does not have a dedicated sandbox environment. For testing:

  • Create a test product with a low price
  • Use the promoCode parameter to verify codes work
  • Delete test promo codes after testing

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

  • No dedicated sandbox/test environment
  • Promo codes are scoped to specific plans
  • Limited discount customization options
  • API documentation is less mature than Stripe/Paddle