#ledev-fou-fou-fou_code
1 messages ¡ Page 1 of 1 (latest)
đ 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.
$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
]
]);
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.
note that we have many settings in the dashboard to automatically handle this for you: https://dashboard.stripe.com/settings/billing/automatic
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?
nope, it's completely up to the bank to decide when to show 3DS. so you cannot control this.
ok thanks