#steve34chen
1 messages · Page 1 of 1 (latest)
Hi, how can I help?
about the client secret, we need to hide it from client right?
I'm not sure what you mean entirely. You should not log this if that is what you'e trying to ask
To use the client secret, you must obtain it from the PaymentIntent on your server and pass it to the client side. Does this mean when I want to use client secret to finish payment intent, I need to get the client secret to the client side by calling stripe api ?]
Your understanding is correct, here is our documentation on how to fetch the client secret: https://stripe.com/docs/payments/payment-intents#passing-to-client