Discussions

Ask a Question
Back to All

Error: Do not use the secret key in the browser

I am trying to apply paymongo api on my ionic application.

I am using plugin of https://paymongo.paolotiu.com/.

Create Payment Method and Retrieve Payment Method was successful and running

Create Payment Intent was successful but retrieving always got an error.

Error using public key - Error: Request failed with status code 404

Error if I user secret key - Error: Do not use the secret key in the browser

I always got this error when I use secret key