#Akhil Gonde
1 messages · Page 1 of 1 (latest)
Hello
Hi! Let me help you with this.
The general rule, you need to use Secret key on the backend (in Java) and the Publishable key on the frontend (in JavaScript, iOS or Android).
You can see the example standard integration here: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements&lang=java
so if the integration done on backed side we need to use secrete key and if integration done on front end side we need to use Publishable key
Usually, you need both for a full integration.
But I'm handling all things on backed side the why I need to do it on front end side
I'm using default front end given by stripe
Sure, then you only need the Secret key
Thing is in my account in getting incomplete secrete key (live) with dots in the middle
Do you know why?
Where are you getting it from?
You can find the keys here: https://dashboard.stripe.com/test/apikeys
Yes but in live mode secrete key is incomplete
Does it show like this we we will reveal it and try to see in second time
👋 stepping in
Yeah you can only view your secret key one time due to security limitations
So if you need to, you want to roll that key to get a new one
Ohk thank you very much