#Svit-WeChat-Pay

1 messages · Page 1 of 1 (latest)

karmic solar
#

Hi there

#

You said: "how do i put in seacreat key"

opaque sandal
#

we meet again

karmic solar
#

🙂

opaque sandal
#

yha

karmic solar
#

Are you asking how you insert the client secret there?

opaque sandal
#

yes but it is in front end so how do i do it 'safly'

karmic solar
#

You fetch it from the backend

#

This is not your Secret API Key

#

This is the PaymentIntent's client secret

#

As long as you aren't embedding that client secret anywhere, it is safe to have it in your frontend.

opaque sandal
#

How do i fetch it to backend

#

<%= key %> this way

#

and how do i get PaymentIntent's client secret

karmic solar