Closed go-arun closed 3 years ago
data := map[string]interface{}{ "amount": 1234, "currency": "INR", "receipt_id": "some_receipt_id", } body, err := client.Order.Create(data)
Error getting is given below ( function client.Order.Create() required two arguments , Right ?)
./main.go:19:45: not enough arguments in call to client.Order.Create have (map[string]interface {}) want (map[string]interface {}, map[string]string)
Error getting is given below ( function client.Order.Create() required two arguments , Right ?)