Skip to content

fix: proper error message for payment confirm with already successful/failed payments#456

Merged
ashokkjag merged 3 commits into
mainfrom
stripe_status_error_fix
Jan 23, 2023
Merged

fix: proper error message for payment confirm with already successful/failed payments#456
ashokkjag merged 3 commits into
mainfrom
stripe_status_error_fix

Conversation

@Sangamesh26
Copy link
Copy Markdown
Contributor

Type of Change

  • Bugfix

Description

When the payment is successful or failed and confirm call is done for that payment id, the message should be proper indicating it was failed or succeeded instead of general message

Motivation and Context

Proper error message for the payment confirm with already succeeded/failed payment

How did you test it?

Manual

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed submitted code

@Sangamesh26 Sangamesh26 added A-core Area: Core flows C-bug Category: Bug S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Jan 23, 2023
@Sangamesh26 Sangamesh26 self-assigned this Jan 23, 2023
@Sangamesh26 Sangamesh26 requested a review from a team as a code owner January 23, 2023 06:02
dracarys18
dracarys18 previously approved these changes Jan 23, 2023
Copy link
Copy Markdown
Contributor

@dracarys18 dracarys18 left a comment

Choose a reason for hiding this comment

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

LGTM

Narayanbhat166
Narayanbhat166 previously approved these changes Jan 23, 2023
@Sangamesh26 Sangamesh26 dismissed stale reviews from Narayanbhat166 and dracarys18 via 7d722ca January 23, 2023 06:14
@jarnura jarnura added S-ready-to-merge and removed S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Jan 23, 2023
@Sangamesh26 Sangamesh26 requested a review from ashokkjag January 23, 2023 10:52
@ashokkjag ashokkjag merged commit dd7eed1 into main Jan 23, 2023
@ashokkjag ashokkjag deleted the stripe_status_error_fix branch January 23, 2023 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-core Area: Core flows C-bug Category: Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants