1. Integration Steps
Download PayU GO SDK
You can download the PayU GO SDK from the following GitHub link: GitHub – payu-india/web-sdk-go: PayU Web SDK for Go tech stack integration
Create a PayU account
First, create a PayU account. See Register for a Merchant Account.
Install the SDK
To install the PayU GO SDK using go get , run the following command:
go get github.com/payu-india/web-sdk-go
Build the PayU object
Use the following sample code for creating an instance of the PayU Object:
import (
Payu "github.com/payu-india/web-sdk-go"
)
payu, err := Payu(
<YOUR_MERCHANT_KEY>,
<YOUR_MERCHANT_SALT>,
<ENVIRONMENT>
)
Updated 9 days ago