#rikless
1 messages · Page 1 of 1 (latest)
Hi there!
I'm not sure I understand. What do you mean by "it does not create the customer after this customer has updated data"?
What are you doing exactly, what were you expecting to happen, and what is happening instead?
Is there a way when create Checkout Session with payment mode, to force 3DS ?
generally if 3D Secure is required, we will prompt for it. You can use custom Radar rules to request 3D Secure beyond that if needed(https://stripe.com/docs/radar/rules/reference#rule-processing-and-ordering) ,depends on the use case for it
mmmh, I don't want to use Radard, I'm looking for something like
'payment_method_options' => [
'card' => [
'request_three_d_secure' => 'any',
],
],
available on SetupIntent
yeah that does not exist for Checkout, sorry
yep, as I said, if it's required(as it is in Europe in many circumstances under the SCA regulation), we prompt for it; and you can use our Radar product to help with disputes by e.g. creating custom rules to request 3D Secure
Ok thank you. Looking at req_x0DktpZLvDH4it I don't understand. cus_NsHRacdbPGHkEs has 2 saved credit cards, and API returns Cannot charge a customer that has no active card
you should not be using the legacy /v1/charges API, it's not compatible with the modern PaymentMethod (pm_xxxx) API(which is why you get this error)
it's quite deprecated, you should be using the PaymentIntents API to take payments instead.
https://stripe.com/docs/payments/save-and-reuse?platform=web#charge-saved-payment-method for example is how you actually charge a customer's saved card
PaymentMethod is mandatory ? We can't just push customer_uuid ?
correct it's mandatory
this way it's safer since you have to explicitly tell us which card you want us to charge instead of it relying on a concept of a default
mmmh ok but with Stripe Checkout API session, there is no pm_ right ?
if I look at cs_test_c1Ve9q6w7lAxYUrUzyucJ28NErnWtuzCiOep1buvi7moKsmHYTGbrYPkcH customer has updated credit card, but no pm_ when I retrieve the session
there's no payment_method field on CheckoutSessions no
I don't understand so. If pm_ is required, how can I use a payment methode added/updated with a Stripe checkout :
'payment_method_types' => ['card'],
'mode' => 'setup',
?
you look at the SetupIntent that the CheckoutSession created, to get the PaymentMethod that was setup