-
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(core): fix 3DS mandates, for the connector _mandate_details to be stored in the payment_methods table #4323
Conversation
@@ -475,6 +475,7 @@ impl<F: Send + Clone, Ctx: PaymentMethodRetrieve> | |||
let m_merchant_account = merchant_account.clone(); | |||
let m_request = request.clone(); | |||
let m_key_store = key_store.clone(); | |||
let m_payment_method_id = payment_attempt.payment_method_id.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.
payment_method_id
can also be passed in the confirm request right? why are we always inferring it from payment_attempt
.
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.
Yes, right we won't need to infer it in the update and confirm. Will pass None
Type of Change
Description
After complete_authorize, or Psync the connector_mandate_details wasn't getting stored in the PaymentMethods table. Hence the recurringMandate would fail with the error
Payment Methods not found
In this PR , we fix the 3ds mandate payments
Additional Changes
Motivation and Context
How did you test it?
->
Confirm
off_Session:true
paymentChecklist
cargo +nightly fmt --all
cargo clippy