-
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
fix(connector): [BAMBORA] Audit Fixes for Bambora #4604
Conversation
Ok(format!( | ||
"{}/v1/payments/{}{}", | ||
self.base_url(connectors), | ||
connector_payment_id, | ||
"/void" |
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.
Not required as a variable
Ok(format!( | |
"{}/v1/payments/{}{}", | |
self.base_url(connectors), | |
connector_payment_id, | |
"/void" | |
Ok(format!( | |
"{}/v1/payments/{}/void", | |
self.base_url(connectors), | |
connector_payment_id, |
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.
Done
.ip_address | ||
.map(|ip_address| Secret::new(format!("{ip_address}"))), | ||
), |
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.
Use the util get_ip_address
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.
Done
[bambora.connector_webhook_details] | ||
merchant_secret="Source verification key" |
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.
Maybe we can remove this as well, if we don't support webhooks via Bambora
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.
Done
…efactor * 'main' of github.com:juspay/hyperswitch: chore(version): 2024.05.10.0 fix(router): [NETCETERA] skip sending browser_information in authentication request for app device_channel (#4613) fix(users): Fix bugs caused by the new token only flows (#4607) ci(cypress): Fix card expiry for savecard flows (#4585) refactor(billing): store `payment_method_data_billing` for recurring payments (#4513) feat(users): new routes to accept invite and list merchants (#4591) fix(connector): [BAMBORA] Audit Fixes for Bambora (#4604) fix(connector): [iatapay]handle empty error response in case of 401 (#4291) feat(connector): [Payone] add connector template code (#4469) feat(users): Create API to Verify TOTP (#4597) chore(version): 2024.05.09.0 chore(postman): update Postman collection files fix(core): drop three_dsserver_trans_id from authentication table (#4587) refactor(db): Add TenantId field to the KafkaStore struct (#4512) feat(users): Create `user_key_store` table and `begin_totp` API (#4577) Fix(connector): [BOA/CYBS] make rsync status optional (#4570) fix(users): Correct the condition for `verify_email` flow in decision manger (#4580)
Type of Change
Description
Following code improvements are done for connector Bambora:
Additional Changes
Following are the paths where you can find config files which have been updated:
crates/connector_configs/toml/development.toml
crates/connector_configs/toml/sandbox.toml
crates/connector_configs/toml/production.toml
Motivation and Context
#4605
How did you test it?
All the payment flows need to be tested(except void) for cards(Non-3DS) via Bambora.
Request -
Response -
Request -
Response -
Request -
Response -
Request -
Response:
Checklist
cargo +nightly fmt --all
cargo clippy