#Kpovoc
1 messages · Page 1 of 1 (latest)
Intent looks similar to:
"next_action": {
"type": "use_stripe_sdk",
"use_stripe_sdk": {
"directory_server_encryption": {
"algorithm": "RSA",
"certificate": "-----BEGIN CERTIFICATE-----\n<long key>\n-----END CERTIFICATE-----\n",
"directory_server_id": "A000000003",
"root_certificate_authorities": [
"-----BEGIN CERTIFICATE-----\n<another long key>\n-----END CERTIFICATE-----\n"
]
},
"directory_server_name": "visa",
"merchant": "acct_1asfasfsadfasfasd",
"one_click_authn": null,
"server_transaction_id": "bf00606f-4378-4609-ad87-112321312313",
"three_d_secure_2_source": "src_1zxcvzxcvzxcvzxvzxvzx",
"three_ds_method_url": "",
"three_ds_optimizations": "kf",
"type": "stripe_3ds2_fingerprint"
}
},
Hi there! Is there a reason why you're implementing manual authentication instead of letting Stripe handle the redirects automatically: https://stripe.com/docs/strong-customer-authentication/migration
We found a bug (in our code, maybe) where the 3DS redirect does not happen if the customer has a 100% off coupon attached. The invoice gets marked paid, and the subscription becomes active, but the subscription still also has that pending_setup_intent.
Right now, just looking for a quick manual work around for affected customers while we attempt to properly fix the bug.
🙏 ?
Are you still there?
Hi sorry for the delay!
Ah, a few things might be getting mixed up here
SetupIntents don't use coupons since the point of a SetupIntent is solely to collect customer payment details
PaymentIntents use coupons. If a coupon removes 100% of an amount, no charge is created so there's no need to get additional authentication
Can you share a subscription ID you're looking at?
sure. this is one sub_1M3xC3H7JZi7iWXntG6SkcJe
When testing on staging/Stripe Testing. I was able to recreate the same issue by using the 3DS card. But I could resolve it by going to the url from the pending_setup_intent. When looking at this live one though, the pending_setup_intent looks much different and does not appear to have a url anywhere.
@indigo badger Did that help?
Sorry, still digging!
No worries. I’m out of time today. Do I come back to this same thread tomorrow?
Hm, this subscription is active
Correct, but it still has a pending_setup_intent
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
We have a couple of more like that one, so we need some kind of solution we can repeat with them, until we get it fixed properly
The status of this SetupIntent is requires_action so this should be used: https://stripe.com/docs/js#stripe-confirm-card-setup
That is very helpful for us fixing the problem properly on the site. But is there no manual place like the redirect url that can be used with 3DS 1 requests for these handful of cases?