#Mateus Fensterseifer - create card token

1 messages · Page 1 of 1 (latest)

deep granite
#

Hello, what issue are you running in to?

vivid sapphire
#

Can I send a screenshot?

#

Its a 400 bad request, but actually i'm sending the right parameters

#

Looks like it's something with content-type

deep granite
#

Screenshot can be helpful but please send the text of the error if you have it

vivid sapphire
deep granite
#

What is the exact error message that you are getting?

vivid sapphire
deep granite
#

That isn't the stripe error unfortunatley. Can you get me the request ID for this error? (req_123)

vivid sapphire
#

req_zFTCFSlARtQS4C

deep granite
#

Thank you

#

Has your code changed? I am seeing a body of { number: "4242424242424242", exp_month: "5", exp_year: "2023", cvc: "***" }

#

But it looks like your code should be sending it inside of a card object

#

The code you sent looks correct, but the body that we are actually getting looks like a different request body. Making this request myself to see if I see something similar...

vivid sapphire
#

Sorry! You are right.

#

That's the wrong request ID

#

Actually the error I send the screenshot event get registered inside Stripe

#

It's with Axios

#

Sorry for the wasted time

deep granite
#

Oh so you were able to figure it out? Is this working now for you?

#

No worries, happy this time could help you figure this out

vivid sapphire
#

Thank you!

#

I not figured out yet, but i'll

deep granite
#

Sounds good, feel free to send any stripe errors/request IDs here. I am happy to help look in to them

vivid sapphire
#

Ok! Thank you for the support!