empowerai / fs-permit-platform

Module for intake of special use applications for Forest Service Application Permits
Other
3 stars 0 forks source link

As a prospective Christmas tree applicant, I would like be redirected to an error page with errors if pay.gov returns errors in the transaction #214

Open sethalt opened 6 years ago

sethalt commented 6 years ago

Notes

User is redirected to an error page if there are errors with the pay.gov transaction

Credit card failure: 0000000000000000, and success with any other numbers

Acceptance Criteria

Tasks

Definition of Done

sethalt commented 6 years ago

@MelissaBraxton @tram

The first draft of our error page. Note: the message under Sorry! There's been a problem represents a message that would return from pay.gov. The message that we chose was copied from the pay.gov docs. That message would change based on the error code.

screen shot 2017-12-21 at 2 23 43 pm

bryanmcfadden commented 6 years ago

First draft at task flow: task_flow_buy_permit

tram commented 6 years ago

Yay, error pages! :-) A couple things… 🤔 The WDS-style error message and the following header/paragraph seem redundant. Is it possible to go with one or the other? 👣 Recommend emphasizing the next step: trying again. Right now, it's under the "Additional information" header and feels more like an afterthought than "hey, do this".

sethalt commented 6 years ago

Good feedback @tram, and we made some changes. Please review.

screen shot 2017-12-21 at 3 54 08 pm

tram commented 6 years ago

Nice! Just to clarify, recommend emphasizing the next step instead of emphasizing that there is a next step. In this case, removing the "What to do next" header and emphasizing "Return to the…and try again." by wrapping that line in a <strong> tag.

sethalt commented 6 years ago

Understood @tram . See updates below:

screen shot 2017-12-27 at 11 06 08 am
tram commented 6 years ago

👍 Ship it!

lauraGgit commented 6 years ago

Reviewed what's in staging in WIP 6 PR

JaneZC commented 6 years ago

@lpendem @MelissaBraxton @ASprinkle

Attached is a preliminary list of error codes that seem like they would be worthy of a re-write, with a focus toward ensuring someone knows what action they could take in an attempt to resolve the error. Its probably about 50 error messages, although it could still change based on what happens once pay.gov is integrated. But, definitely more than than 10.

https://app.zenhub.com/files/106473503/3d367940-71c9-4f4a-bfae-c248f2236cfb/download

JaneZC commented 6 years ago

@lpendem Oops! Forgot you wanted it as an image; here it is a jpeg.

Error Messages.jpg