#Kamesh

1 messages ยท Page 1 of 1 (latest)

steel zephyrBOT
main temple
#

supplied confirm = true and off_session = true and sca required
You may look for the error with authentication_required

user presented with 3ds window but didn't complete or failed verification?

  • If customer is presented 3DS and doesn't complete it, Payment Intent status will still remain as requires_action
  • If customer fails authentication, last_payment_error.code will be payment_intent_authentication_failure
dense fulcrum
#

thanks.

#

for the first case, what should be status in stripe sigma DB?

#

is it charges.status = 'failed' ?

#

does this look correct ?

#

select
charges.id,
payment_intents.id,
payment_method_details.card_moto,
payment_intents.setup_future_usage,
payment_intents.status,
date_format(charges.created, '%Y-%m-%d') as created_date,
charges.amount,
charges.status,
charges.failure_code,
charges.failure_message,
charges.outcome_network_status,
charges.outcome_reason
from
charges
join payment_intents on payment_intents.id = charges.payment_intent
join payment_method_details on payment_method_details.charge_id = charges.id
where
charges.status = 'failed'
and charges.failure_code = 'authentication_required'
order by
charges.created desc

main temple
#

This looks right to me

dense fulcrum
#

thanks

#

when we pass off_session = true do they get reflected as setup_future_usage = off_sesson in stripe sigma db?

main temple
#

No! off_session and setup_future_usage are two different parameters and serve different use cases. off_session is to inform Stripe that customer is absent from this payment whereas setup_future_usage is to save the payment method that the customer uses

dense fulcrum
#

i can't find any column which indicates that we are setting offession=true

main temple
dense fulcrum
#

thanks

main temple
#

No problem! Happy to help ๐Ÿ˜„

dense fulcrum
#

Also can you please help what field i can filter to identify transactions that required 3ds (success or failure)

main temple
dense fulcrum
#

Thanks. from sigma db perspective, can we use ayment_method_details.card.3ds_succeeded since payment_method_details.card.three_d_secure is not in db