#ledev-fou-fou-fou_code

1 messages ¡ Page 1 of 1 (latest)

prime schoonerBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1364540084237373511

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

azure berry
#

$subscription = $stripe->subscriptions->create([
'customer' => $id_stripe,
'items' => [[
'price' => $price_code,
]],
'payment_behavior' => 'default_incomplete',
'payment_settings' => [
'save_default_payment_method' => 'on_subscription',
'payment_method_options' => [
'card' => [
'request_three_d_secure' => 'any'
]
],
'payment_method_types' => ['card']

    ],
    'expand' => ['latest_invoice.payment_intent'],
    'coupon' => $coupon_code,
    'metadata' => [
        'type' => $type,
        'reccurence' => $rec,
        'email' => $email
    ]
]);
jade dragon
#

hi there!

#

how can I block 3dsecure so that the direct debits go through without problems?
that's not possible. it's completely up to the bank to request 3DS or not. so your integration needs to handle this.

azure berry
#

Yes I now have to request the 3ds for the subscription with 'request_three_d_secure' to 'challenge', but I don't want the bank to ask me for the 3ds again later, is this possible or not?

jade dragon
#

nope, it's completely up to the bank to decide when to show 3DS. so you cannot control this.

azure berry
#

ok thanks