#irunlax_cardholder-requirements
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1230989676794351677
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hey @ivory palm! Do you have actionable information like your exact code, the exact Cardholder id you're looking at, what you see in the API for it, etc.?
hey! so I am creating a platform that takes two payment methods and user is provided an e-card from stripe, I can provide code and also the logs from stripe. the cardholder is Jose Aguirre. error message is attched, let me know if you wanna see code as well.
Make sure that you code properly handles API errors, you really shouldn't dump an entire object like that
But okay the error is quite clear here. Did you retrieve the Cardholder in the API and look at it?
https://docs.stripe.com/api/issuing/cardholders/object#issuing_cardholder_object-requirements is what you want to check as a developer
irunlax_cardholder-requirements
Sorry you are sharing a truncated picture of the Dashboard, with real personal information on a public server anyone can look at
thats just test data
This Discord server focuses on developers writing their own end to end code. So can you retrieve the cardholder in the API and look at the exact requirements property first?
I want to make sure we surface the right information back to you so that you can self-serve after, so let me know once you have that information
this is my /issue-card endpoint attched:
I'm sorry you're dumping a lot more code right now
sorry!
Please, try to just retrieve the Cardholder and look at the exact requirements property.
I want to show you what you are missing right now
will do, brb
sure thing, once you have, show me and then I can show you what you missed!
getting this: Server is running on http://localhost:3000
Cardholder Requirements: {
disabled_reason: 'requirements.past_due',
past_due: [ 'individual.first_name', 'individual.last_name' ]
}
Cardholder is disabled: requirements.past_due
Action required for the following fields: [ 'individual.first_name', 'individual.last_name' ]
Okay so it's telling you you forgot to fill out the first name and last name inside the individual hash.
I think you set the top-level name but forgot to set the split ones in https://docs.stripe.com/api/issuing/cardholders/object#issuing_cardholder_object-individual
yes on name I had: name: name, then I changed it to : name: ${firstName} ${lastName}, and still getting the same error
I'm sorry this is tough you keep sharing pictures ๐
My guess is you didn't set what I told you. You should be able to print the exact individual hash to debug this
checking on it, pretty sure its how I am passing the data from BE to FE
OMG IT WORKED! now I am just getting card details as undefined
yep but you can just log the parameters on the server before the code and log the response after and compare
Card Number: undefined
Expiry Date: undefined/undefined
Cardholder Name: undefined
Amount Loaded: undefined
Ack, then same thing, I have no idea what "undefined" means but if you focus carefully on logging the info you will get there quickly
will do! thanks so much! if anything else ill let you know but thanks!!! have a nice friday :)
Sure thing!
ill look into the card if anything ill open a support again :)
sounds good!