I am trying to implement the Phonepe API in my game: https://developer.phonepe.com/v4/reference#installation
And to do this i download js file from here:
But i am not able to use it. I am getting error like this at multiple pages.
I tried to use es6 syntax at top but it did not worked.
/*jshint esversion: 6 */
Any kind help will be really appreciated!