#Nippun

1 messages · Page 1 of 1 (latest)

fallen isleBOT
rustic pumice
#

Hi there

viral sedge
#

HI

rustic pumice
#

Can you clarify what you mean exactly here? What is the "stripe site" and the "developer site"?

viral sedge
#

Bismarck

#

Now we are developing one product and use stripe to take payment

#

we used API like token, customer, and charge

#

one of the customer enter 3 digit cvv but it starts with zero

#

that time we get response from stripe like a invalid cvv

rustic pumice
#

Hmm okay

#

I'm still not exactly sure what you are trying to do

viral sedge
#

we call the API Token with card details

#

but getting error with correct card details

rustic pumice
#

Do you have an example request ID you can provide me so I can take a look?

viral sedge
#

We have this customer

#

cus_KZvnB2RRVBCDlY

#

and he entering valid card details but still getting invalid cvv error response

rustic pumice
#

Thanks taking a look

#

Okay I see a bunch of tokenization attempts that are failing due to invalid_cvc, so I assume this is what you are talking about. In this case it looks like the CVC was entered as 2 digits only.

#

CVC should be 3 or 4 digits

viral sedge
#

okay

#

got it Thanks

#

I have one more query

rustic pumice
#

Sure

viral sedge
#

Is there any API to verify the card details without any charge

rustic pumice
#

Yep, you would use the SetupIntents API for that

viral sedge
#

it can validate card data if i put my valid cc number but enters invalid cvv ?

rustic pumice
#

But overall, attaching a Card to a Customer, or using a SetupIntent, will validate the card.

viral sedge
#

Yes I tried that but in response i m getting cvv check "unchecked"

#

not as like "pass"

rustic pumice
#

Yep that will happen if a card validation does not occur.

viral sedge
#

but i m putting my real card data

rustic pumice
#

Did you read the above article I linked?

viral sedge
#

still getting "unchecked"

#

The card information is verified when the card is saved, but it only verifies that the information is valid: it cannot check credit limits or account balances to guarantee that a card will have sufficient funds when you do decide to charge it.

#

that mean card must be saved before?

#

after that we can validate?

rustic pumice
#

Not sure what you mean by that? That statement means that when a validation does occur, it doesn't include a check on the balances of a card (like a debit card). It just checks whether the details (card number + CVC + AVS) are correct.

#

So this is the validation itself, that occurs most of the time when you attach a Card to a Customer, or use a SetupIntent

viral sedge
#

I just want to validate card data , not balance

rustic pumice
#

Then what you are already doing (attaching a Card to a Customer) is the correct method.

viral sedge
#

then is it possible with setup intent

rustic pumice
#

They behave the same way.

viral sedge
#

but when i put wrong cvv with my valid cc number still its not giving me any error

#

its successfully validate and saved

rustic pumice
#

Sure, because our models probably know that you are doing testing here (which is technically prohibited by the Card Networks -- you are only supposed to test in test mode), and thus are not actually doing a validation.

#

If you do this in test mode then you will see a response for the CVC check

viral sedge
#

i did in live mode

rustic pumice
#

Right, that's what I'm saying. There was no validation here because our models know you are testing in live mode and they are meant to prevent validations on card testing so you don't get a response

#

Sorry, not sure how else to explain this 😦

viral sedge
#

like a charge a charge method when i put valid cc number with invalid cvv that that time we get response like invalid cvv

#

i just want to know can i get same response while create a customer with card details

rustic pumice
#

You can't.

#

Not every single time.

#

Most of the time, yes. You get this just by attaching the Card to a Customer.

#

But not every single time. Because we won't perform the card validation every single time.

viral sedge
#

okay

#

Thanks

#

and is there any way to create a customer with his card details

#

on stripe stripe site

#

and after createing customer come back to my page

rustic pumice
#

When you say "on stripe site" do you mean on Stripe Checkout? Our hosted Checkout page that you redirect to?

viral sedge
#

yes i will redirect to customer on stripe checkout page only for submitting card data

#

after submitting card data he will back on my page

rustic pumice
viral sedge
#

this checkout with any amount or its just to save card details

rustic pumice
#

For setup mode you are not charging any amount, just collecting details

#

Recommend testing it out!

viral sedge
#

okay