Skip to content

Update: Add promo code text-input and logs#118

Draft
nw-sentry wants to merge 6 commits intomasterfrom
nic/promo_code
Draft

Update: Add promo code text-input and logs#118
nw-sentry wants to merge 6 commits intomasterfrom
nic/promo_code

Conversation

@nw-sentry
Copy link
Contributor

Add promo code flow to checkout

Inspired by @Prithvirajkumar's Flutter flow

  • Adds a promo code text input and Apply button to the checkout screen.
  • Auto-populate a mock code SAVE20
  • Simulates an expired coupon (HTTP 410) of 750ms
  • Shows inline red error text.
  • Includes Sentry structured logging for promo apply/failure events.
Screenshot 2026-03-19 at 4 27 24 PM Screenshot 2026-03-19 at 4 27 47 PM
Area.mp4

@nw-sentry nw-sentry requested a review from antonis March 19, 2026 23:34
Copy link
Collaborator

@antonis antonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants