#irene_92049

1 messages · Page 1 of 1 (latest)

hardy stagBOT
toxic flint
#

Hi 👋

If you are just getting started then I would recommend not using the createToken functionality and instead make use of our Payment Element for collecting card details.

short elm
#

I'm using Stripe elements for data collection. On the frontend, I am only collecting the token so that, once the internal information is validated in the backend, I can make the charge using the card token.

toxic flint
#

Okay but Tokens are not the recommended flow. We do have a current workflow that will allow you to first create a Payment Method object and later use that in a payment. What internal information are you validating?

short elm
#

the item he tries to buy is still available.

toxic flint
#

It is designed to collect the payment method information but only finalize the payment after your server performs additional validation

short elm
#

Thank you!, I'll check it.

#

what is wrong with our implementation using "create token"? Is it Old?, or what could happen if we are using that way?

toxic flint
#

Correct, it's old and doesn't support newer security features.

short elm
#

Thank you @toxic flint!