-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
refactor(connector): [trustpay] refactor trustpay and handled variants errors #2484
Conversation
Hey @Cioraz , Could you please attach the issue that you're working on ? |
| api_models::payments::BankRedirectData::OnlineBankingFpx { .. } | ||
| api_models::payments::BankRedirectData::OnlineBankingThailand { .. } => { | ||
Err(errors::ConnectorError::NotImplemented("Payment methods".to_string()).into()) | ||
} |
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.
Same here use this functionget_unimplemented_payment_method_error_message
from utils
23c3732
to
bc9cf16
Compare
Got my error will send the final PR with no errors in sometime |
53543e2
to
210ae65
Compare
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.
Looks good to me!
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.
Looks good to me!
Thanks for the PR, @Cioraz!
Type of Change
Description
Handling the unhandled variants for trustpay
Issue #2287
Additional Changes
Motivation and Context
How did you test it?
Checklist
cargo +nightly fmt --all
cargo clippy