#wuguimei

1 messages · Page 1 of 1 (latest)

frail cryptBOT
gusty gazelle
#

Hi! Let me help you with this.

#

What do you mean by "I can take the response"?

unkempt vale
#

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

gusty gazelle
#

But how have you saved the PM?

unkempt vale
#

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"}

gusty gazelle
#

So what's the issue now?

unkempt vale
#

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?

gusty gazelle
unkempt vale
#

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

gusty gazelle
#

There was a card validation and it's successful.

#

Does it fail when you try to charge it?

unkempt vale
#

but i take the wrong cvc and wrong time

#

the card number is correct

gusty gazelle
#

But does it fail?

frail cryptBOT
unkempt vale
#

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

gusty gazelle
#

You can't be sure that the PM works until you try to charge it. It might fail, which is normal, and then you ask the customer to provide another PM.

#

Please, let me know if you have any other questions.