Skip to content

Conversation

@crwood
Copy link
Member

@crwood crwood commented Sep 27, 2021

This PR adds a few small improvements to the voucher/token redemption process in order to address #381 -- namely:

  • Verify that vouchers were correctly added to ZKAPAuthorizer before launching a payment form via the user's browser
  • Display user-facing errors (instead of merely logging them) in the event that a) adding/verifying a voucher or b) launching the user's browser fails for any reason (and capture tracebacks behind a "Show Details..." button in the error dialog)
  • Display ephemeral status messages throughout the various stages of the redemption process ("Adding voucher...", "Verifying voucher...", "Browser window launched; please proceed to payment", etc.)

@crwood crwood marked this pull request as ready for review October 3, 2021 14:52
@crwood crwood merged commit 3aefd59 into master Oct 3, 2021
@crwood crwood deleted the 381.voucher-redemption-fixes branch October 3, 2021 14:59
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