-
Notifications
You must be signed in to change notification settings - Fork 4.2k
fix(connector): adyen connector creates connector's customer reference on the fly fixed #8447
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
Conversation
Changed Files
|
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, let's update this field in other environments too
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.
nit - list can be in alphabetical order
@@ -1765,29 +1765,31 @@ type RecurringDetails = (Option<AdyenRecurringModel>, Option<bool>, Option<Strin | |||
fn get_recurring_processing_model( | |||
item: &PaymentsAuthorizeRouterData, | |||
) -> Result<RecurringDetails, Error> { | |||
match (item.request.setup_future_usage, item.request.off_session) { | |||
(Some(storage_enums::FutureUsage::OffSession), _) => { | |||
let shopper_reference = match item.get_connector_customer_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.
Nit-Pick: Can you use build_shopper_reference()
here
Type of Change
Description
Adyen now uses
connector_customer_id
to formshopper_reference
if the field is present, else falls to previous implementation.Additional Changes
Motivation and Context
How did you test it?
Checklist
cargo +nightly fmt --all
cargo clippy