/SampleCode-Go

Zarinpal gateway in GO

Primary LanguageGo

Zarinpal Gateway in Go

It's an example to show how you can implement Zarinpal in your project

Install

  • clone the project
  • edit main.go
    • change XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX to your merchant ID
  • run go build in while you're in root folder
  • visit http://localhost:8080/request
  • have fun!

It's just an example so don't use go get to install it