#irunlax_cardholder-requirements

1 messages ยท Page 1 of 1 (latest)

tropic cragBOT
#

๐Ÿ‘‹ 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.

nova sealBOT
oblique ruin
#

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.?

ivory palm
#

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.

oblique ruin
#

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?

#

irunlax_cardholder-requirements

ivory palm
#

this is what I got within the cardholder:

#

am I not providing first and last?

oblique ruin
#

Sorry you are sharing a truncated picture of the Dashboard, with real personal information on a public server anyone can look at

ivory palm
#

thats just test data

oblique ruin
#

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

ivory palm
oblique ruin
#

I'm sorry you're dumping a lot more code right now

ivory palm
#

sorry!

oblique ruin
#

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

ivory palm
#

will do, brb

oblique ruin
#

sure thing, once you have, show me and then I can show you what you missed!

ivory palm
#

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' ]

oblique ruin
#

Okay so it's telling you you forgot to fill out the first name and last name inside the individual hash.

ivory palm
#

yes on name I had: name: name, then I changed it to : name: ${firstName} ${lastName}, and still getting the same error

oblique ruin
#

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

ivory palm
#

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

oblique ruin
#

yep but you can just log the parameters on the server before the code and log the response after and compare

ivory palm
#

Card Number: undefined

Expiry Date: undefined/undefined

Cardholder Name: undefined

Amount Loaded: undefined

oblique ruin
#

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

ivory palm
#

will do! thanks so much! if anything else ill let you know but thanks!!! have a nice friday :)

oblique ruin
#

Sure thing!

ivory palm
#

ill look into the card if anything ill open a support again :)

oblique ruin
#

sounds good!

tropic cragBOT