Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ad 390 #498

Merged
merged 6 commits into from
Jan 3, 2025
Merged

Feature/ad 390 #498

merged 6 commits into from
Jan 3, 2025

Conversation

kpieloch
Copy link
Collaborator

@kpieloch kpieloch commented Jan 3, 2025

Description

Tested scenarios

Fixed issue:

@kpieloch kpieloch requested a review from a team as a code owner January 3, 2025 09:42
@@ -200,6 +202,9 @@ class Payment extends React.Component<Props, State> {
if (responseData.executeAction) {
this.dropIn.handleAction(responseData.paymentsAction)
} else {
actions.resolve({
resultCode: responseData.paymentsResponse.resultCode
});
this.setState({orderNumber: responseData.orderNumber})
this.setState({redirectToNextStep: true})
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

shouldn't we put reject into else section?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, else section will be executed only if payment is already authorised.

@kpieloch kpieloch merged commit 7600b11 into develop Jan 3, 2025
3 checks passed
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