#vrk18
1 messages · Page 1 of 1 (latest)
Hello! What do you mean? Client secrets are designed to be shared only with the specific customer making the payment, and should not be shared with anyone else.
Can we display it to the customer ?
Why would you want to do that?
I need to store that in the central state management tool in the front-end, it may or may not expose the key to the public, if it expose to the public will it be any risk ?
You should never log or store the client secret.
It should only be passed around as needed to complete a transaction at the time the transaction is happening.
And it should only ever exist in memory. It should never be written to disk, appear in URLs, etc.
Alright, thanks