• Resolved ank01

    (@ank01)


    Hello dear support,

    I use the lastest stripe gateway since one month for one of my customer. On the backoffice I checked the 3d secure checkbox.
    After one month only one transaction (on 250) was done with the 3d secure step.
    During this time I got 5 disputed charge payment (I lost 264€)

    I would like to force 3d secure for every transaction.
    How can I do that ?

    Best regards.
    Jérôme

Viewing 6 replies - 1 through 6 (of 6 total)
  • Phil

    (@fullysupportedphil)

    Automattic Happiness Engineer

    Hey @ank01,

    If you have enabled the 3D Secure option, it will force customers to use 3D Secure but only if it’s available through their card issuer.

    Keep in mind that many card issuers do not participate in 3D Secure, especially internationally. This means that their cardholders would not be shown the 3D Secure checkout prompt. Otherwise, if it was shown to a customer who’s bank does not participate in 3D Secure, the customer would be unable to checkout.

    Thread Starter ank01

    (@ank01)

    Hello Phil,

    Thank you for your quick answer. In France all banks works with 3d secure. For instance if you make an order on MC’Do’s web site for 4€ it request you a 3d secure code.
    Anyway if one card issuers do not participate in 3D Secure I prefer lost a sell than lost money with a disputed charge payment.
    Since 3 days I use an old Stripe gateway plugin version ( 4.0.7 instead of 4.1.8) wich force the 3d secure.
    That I want now is the way to use the 4.1.8 (wich only recommand 3d secure), but to force 3d secure with a hook or something like this.
    Do you know how to do that ?
    Best regards.
    Jérôme.

    Plugin Contributor royho

    (@royho)

    Hi @ank01 – yes you can use this filter add_filter( 'wc_stripe_require_3ds', '__return_true' ); Put that in your child theme’s functions.php file.

    Thread Starter ank01

    (@ank01)

    Thank you for your answer : it works fine !

    Hello I have same issue. When I try to add this code to child theme it doesn’t work. I tried with my own card and didn’t ask for 3D secure. When I add it to theme functions.php I got below error.

    Your PHP code changes were rolled back due to an error on line 14 of file wp-content/themes/flatsome/functions.php. Please fix and try saving again.
    syntax error, unexpected end of file

    I added code to child theme and tried to place order with my own card but still not asking for 3D. Also it is running business and non of payment made with 3D Secure. Please help.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘How to force 3d secure’ is closed to new replies.