Version go1.14.6 windows/amd64
Steps to install and run
-
Copy the code from "src" directory to the GOPATH "src" directory
-
Run the command "go get github.com/go-resty/resty" under the "src" directory from the command line to install the package
-
Run the program by using the command "go run ." (go run followed by dot)
-
Browse to http://localhost:3000/ to view the payment page
Notes
The config.json file contains the settings i.e AccessKey, SecretKey, Environment and Sample Data.