Simple library for EveryPay payment gateway
To install the library use the following command in the project directory:
go get github.com/cesbo/go-everypay
e := everypay.NewEverypay(
"api username",
"api secret",
"EUR3D1",
false,
)
link, err := e.InitialPayment(&everypay.OneOff{
Amount: 100.33,
CustomerUrl: "https://example.com/thank-you",
OrderReference: "order-id",
Description: "example order",
CustomerEmail: "[email protected]",
CustomerIp: "127.0.0.1",
})