We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5e4934 commit 0bf36a5Copy full SHA for 0bf36a5
crates/router/src/core/payment_methods/cards.rs
@@ -4539,15 +4539,12 @@ pub async fn filter_payment_methods(
4539
if payment_attempt
4540
.and_then(|attempt| attempt.mandate_details.as_ref())
4541
.is_some()
4542
- || (payment_intent
+ || payment_intent
4543
.and_then(|intent| intent.setup_future_usage)
4544
.map(|future_usage| {
4545
future_usage == common_enums::FutureUsage::OffSession
4546
})
4547
.unwrap_or(false)
4548
- && payment_attempt
4549
- .and_then(|attempt| attempt.customer_acceptance.as_ref())
4550
- .is_some())
4551
{
4552
payment_intent.map(|intent| intent.amount).map(|amount| {
4553
if amount == MinorUnit::zero() {
0 commit comments