#ednaaaj-card-collection

1 messages · Page 1 of 1 (latest)

rancid hamletBOT
iron scroll
#

@topaz rover creating a Token is kind of deprecated, are you really trying to use that API because you have an old integration that needs it, or are you maybe confused overall? Just to know how I should guide you best

topaz rover
#

@iron scroll what i understand to integrate this create card api by stripe we need to create token first right? but im having a problem passing some other details like postal code and country

iron scroll
#

No, none of what you said is correct right now. There are many many ways to integrate our APIs. Tokens and Cards work but they were deprecated years ago

#

So lets take a small step back, ignore what you found in our docs: What are you really trying to do? Why are you collecting card details, what's the exact context? Are you accepting a payment right now? Saving card details for later?

topaz rover
#

For now we want to just save card details in the stripe dashboard

iron scroll
#

For now we want to just save card details in the stripe dashboard
So you are trying to collect card details now for future payments right?

#

ednaaaj-card-collection

iron scroll
#

Okay so stop all you're doing, you went down the wrong path
Look at https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements which is our end to end guide on how to securely collect payment method details (card or more) for future payments. It has clear end to end examples for React
Or use our Checkout product which will make things drastically easier to implement

rancid hamletBOT
narrow nimbus
#

@topaz rover did Koopa's direction help you? they are right, I strongly recommend you follow the current guide, let me know if you have qs