Developer Discussions
Issue: problem on testing my own public api key
Issues on: https://github.com/PayMaya/PayMaya-JS-SDK-v2/
I have generated my API secret and public at Maya Business Dashboard - Checkout & Invoicing
So I cloned this project and see that you only use the Public Key so what i did is to test it out with my own public key, However it is giving me this kind of error in the console and won't let me proceed.
From URL: https://pg-sandbox.paymaya.com/checkout/v1/checkouts
{
"error": "Invalid authentication credentials. Kindly verify if the key you are using is correct.",
"code": "K003",
"reference": "bdd5260f-f7ef-42a0-9472-dcdf757f6a35"
}
I wonder why the project redirecting me to v1 instead of v2 everytime i use my public key but if i keep the default or the project sample public key it is redirecting to this link: https://payments-web-sandbox.paymaya.com/v2/checkout?id=
Also this page doesn't exist https://developers.maya.ph/changelog/entry/paymaya-checkout-overview-and-faqs
Screenshots:
- https://user-images.githubusercontent.com/62344860/236467528-d9cce9ce-3d30-48ef-a7a9-6cf74301a9d7.png
- https://user-images.githubusercontent.com/62344860/236467641-68afddd8-f894-4178-97de-151ce3952ede.png
Raised Issue: https://github.com/PayMaya/PayMaya-JS-SDK-v2/issues/46