env config different with go
Closed this issue · 2 comments
ALiangBo commented
In readme, env config should be like
API_KEY="YOUR_API_KEY" MERCHANT_ACCOUNT="YOUR_MERCHANT_ACCOUNT" CLIENT_PUBLIC_KEY="YOUR_CLIENT_PUBLIC_KEY" SERVER_URL="YOUR_BACKEND_SERVER_URL"
But I check the main.go file. In the main method
`client = adyen.NewClient(&common.Config{
ApiKey: os.Getenv("ADYEN_API_KEY"),
Environment: common.TestEnv,
})
merchantAccount = os.Getenv("ADYEN_MERCHANT")`
main.go use "ADYEN_API_KEY" and "ADYEN_MERCHANT" to load config.It is different with readme.
It's confusing.
deepu105 commented
Thanks for noticing this. I'll correct and sync them
deepu105 commented
done