Skip to content

PP-1233 spike how we can apply our own 3ds on stripe#5796

Draft
AbdirizakIdris wants to merge 1 commit intomasterfrom
PP-1233-spike-how-we-can-apply-our-own-3ds-on-stripe
Draft

PP-1233 spike how we can apply our own 3ds on stripe#5796
AbdirizakIdris wants to merge 1 commit intomasterfrom
PP-1233-spike-how-we-can-apply-our-own-3ds-on-stripe

Conversation

@AbdirizakIdris
Copy link
Copy Markdown
Contributor

Context

  • This PR is to Look into if/how we could request 3DS for Stripe at a service level

    • Add new column for force_3ds
    • Add "payment_method_options[card][request_three_d_secure]"=any param to Stripe Payment intent

-This PR is to  Look into if/how we could request 3DS for Stripe at a service level
 - Add new column for `forced_3ds`
 - Add `"payment_method_options[card][request_three_d_secure]"=any` param to Strupe Payment intent
@AbdirizakIdris AbdirizakIdris force-pushed the PP-1233-spike-how-we-can-apply-our-own-3ds-on-stripe branch from 09ae681 to 3b61fb4 Compare May 7, 2025 08:14
@AbdirizakIdris AbdirizakIdris marked this pull request as draft May 7, 2025 08:46
Copy link
Copy Markdown
Contributor

@alexbishop1 alexbishop1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small logic thing but otherwise this looks straightforward enough

this.customerId = customerId;
this.offSession = offSession;
this.tokenId = tokenId;
this.required3ds = gatewayAccount.isForce3ds() || gatewayAccount.isRequires3ds();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be a && rather than a ||isRequires3ds() (not the best name any more) is whether the gateway account supports 3DS at all, which is a prerequisite for isForce3ds() to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants