-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat(connector): [Placetopay] Implement Card 3ds #6834
base: main
Are you sure you want to change the base?
Conversation
Changed Files
|
@@ -125,6 +126,7 @@ impl TryFrom<&PlacetopayRouterData<&types::PaymentsAuthorizeRouterData>> | |||
.get_card_expiry_month_year_2_digit_with_delimiter("/".to_owned())?, | |||
cvv: req_card.card_cvc.clone(), | |||
}; | |||
let return_url = item.router_data.request.complete_authorize_url.clone(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the request body same for 3ds and non-3ds request?
Should we pass complete_authorize_url in case of non-3ds payments?
Self::Charged | ||
} | ||
PlacetopayTransactionStatus::Approved => Self::Charged, | ||
PlacetopayTransactionStatus::Ok => Self::AuthenticationPending, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we map ok to AuthenticationPending for non-3ds payments?
Type of Change
Description
Additional Changes
Motivation and Context
How did you test it?
Response
Complete Payment using redirection link.
Response
Cypress Test
Checklist
cargo +nightly fmt --all
cargo clippy