Skip to content

Issue #1 - [FEATURE] Enable promotion code support in Stripe checkout #5

@zenocross

Description

@zenocross

Description

The Stripe checkout integration currently doesn't allow users to enter promotion codes or discount codes during payment, limiting the ability to run promotional campaigns or offer discounts to users.

Current Behavior

  • Users navigate to Stripe checkout for subscription
  • No field available to enter promotion/discount codes
  • Users cannot apply promotional offers during checkout
  • All checkouts processed at full price

Expected Behavior

  • Stripe checkout displays promotion code input field
  • Users can enter valid promotion codes
  • Discounts automatically applied when valid code entered
  • Checkout reflects discounted pricing

Steps to Reproduce

  1. Navigate to subscription/payment page in app
  2. Click to initiate Stripe checkout
  3. Observe checkout page
  4. Notice lack of promotion code input field

Proposed Solution

Enable the allow_promotion_codes parameter in the Stripe checkout session configuration. This is a single parameter change in the Stripe API call.

Technical Context

  • Component: Payment utility/Stripe integration
  • Type: Feature enhancement
  • File: Python payment utility
  • Change: Single line modification to enable promotion codes

Download https://cap.so/ to record your screen (use Studio mode). Export as an mp4, and drag and drop into an issue comment below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureAuto-created label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions