diff --git a/example/simplepay/main.go b/example/simplepay/main.go index 27d56a6..1d17aa5 100644 --- a/example/simplepay/main.go +++ b/example/simplepay/main.go @@ -48,7 +48,7 @@ func setupMidtrans() { midclient = midtrans.NewClient() midclient.ServerKey = "VT-server-7CVlR3AJ8Dpkez3k_TeGJQZU" midclient.ClientKey = "VT-client-IKktHiy3aRYHljsw" - midclient.ApiEnvType = midtrans.Sandbox + midclient.APIEnvType = midtrans.Sandbox coreGateway = midtrans.CoreGateway{ Client: midclient,