# README
goepay on App Engine
Prerequisites
-
Go appengine SDK https://developers.google.com/appengine/downloads#Google_App_Engine_SDK_for_Go
-
Godoc sources at go-epay inside $GOPATH (go get -d github.com/clouway/go-epay)
Setting Up the Environment
The environment configuration is provided through the Environment entity in the datastore where it's structure should be as follow:
- Entity kind should be "Environment"
- Key - with "default" value if appspot domain is used or name of your domain if different one is used: e.g "myepaygw.yourdomain.com"
- billingKey (type string) - the json key generated from the IAM console of TelcoNG
- billingURL (type string) - the url of the billing, e.g https://cloud.telcong.com or of the provided testing environment
- epaySecret (type string) - the secret that was provided by ePay for doing hmac verificatoins
- merchantId (type string) - the id of the Merchant provided by ePay
Deployment
gcloud --project yourprojectname app deploy --no-promote app.yaml