Skip to content

Commit

Permalink
AD-390: Fix for response from submit additional details.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpieloch committed Jan 10, 2025
1 parent ebf5e4f commit 3a7a9c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,11 @@ export class CheckoutAdyenPaymentMethodComponent implements OnInit, OnDestroy {
resultCode: response.paymentsResponse.resultCode
});
this.onSuccess();
} else if (!!response.paymentDetailsResponse) {
actions.resolve({
resultCode: response.paymentDetailsResponse.resultCode
});
this.onSuccess();
}
} else {
this.resetDropInComponent()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export interface PlaceOrderResponse {
executeAction?: boolean,
paymentsAction?: PaymentAction,
paymentsResponse?: PaymentResponseData,
paymentDetailsResponse?: PaymentResponseData,
error?: string,
errorFieldCodes?: string[]
orderNumber?: string,
Expand Down

0 comments on commit 3a7a9c8

Please sign in to comment.