#wuguimei
1 messages · Page 1 of 1 (latest)
Hello, it means that I used the wrong CVC, but did not verify the information on the card. Even if I successfully tied the card at the beginning, it would still fail in the end? What should I do?
I use Payment Intent api
Yes, it will fail.
You should create a new PM.
But how have you saved the PM?
No, I'm getting a normal return payment method now. I didn't know that the user's card information was incorrect at this time, and the interface didn't tell me either
"cvcCheck":"unchecked"
createSetupIntent response:{"clientSecret":"seti_1N5mlNL0nslfKAh0CttAVLMc_secret_NrVmheY2DooYTFm0tGJKvx2AADbPKkU","created":1683624197,"customer":"cus_NrVmEVWA5LfbJL","id":"seti_1N5mlNL0nslfKAh0CttAVLMc","latestAttempt":"setatt_1N5mlNL0nslfKAh0eJbT9Vvk","livemode":true,"metadata":{},"object":"setup_intent","paymentMethod":"pm_1N5mlML0nslfKAh0Kz7CwEXs","paymentMethodOptions":{"card":{"requestThreeDSecure":"automatic"}},"paymentMethodTypes":["card"],"status":"succeeded","usage":"off_session"}
So what's the issue now?
Our business is to first ask users to bind their cards for rental business, and then deduct them when they return them. The interface we use is to first create a payment method, then create a Setup Intent, Payment Intent, and finally perform deduction. But the previous steps of binding the card cannot verify the correctness of the user's card information. What suggestions do you have?
If you go through the standard process, you should create the SetupIntent first, and then we verify the card: https://stripe.com/docs/payments/save-and-reuse
createSetupIntent response:{"clientSecret":"seti_1N5mlNL0nslfKAh0CttAVLMc_secret_NrVmheY2DooYTFm0tGJKvx2AADbPKkU","created":1683624197,"customer":"cus_NrVmEVWA5LfbJL","id":"seti_1N5mlNL0nslfKAh0CttAVLMc","latestAttempt":"setatt_1N5mlNL0nslfKAh0eJbT9Vvk","livemode":true,"metadata":{},"object":"setup_intent","paymentMethod":"pm_1N5mlML0nslfKAh0Kz7CwEXs","paymentMethodOptions":{"card":{"requestThreeDSecure":"automatic"}},"paymentMethodTypes":["card"],"status":"succeeded","usage":"off_session"}
I hava create the SetupIntent ,but don't verfy tha card
There was a card validation and it's successful.
Does it fail when you try to charge it?
But does it fail?
I found that only a very simple verification was done, and the expiration time cannot be entered into the previous month and year. The CVC code cannot exceed 3 digits, which is normal. Can we create a payment method? Is this kind of logic strange