Skip to content

Galvanize-IT/paysimple-go

Repository files navigation

paysimple-go GoDoc

PaySimple Go Library

Quickstart

Set the environmental variables PAYSIMPLE_USER and PAYSIMPLE_SECRET

Create either a live or sandboxed API:

api := API()
// Or
api := Sandbox()

Create customers, accounts, and payments as needed:

customer := Customer{
    FirstName:             "Test",
    LastName:              "Customer",
    ShippingSameAsBilling: true,
}
created, err := api.Customers.Create(customer)
if err != nil {
    log.Panic(err)
}

For more information, see the PaySimple API documentation: http://developer.paysimple.com/documentation/

  • aodin, 2015

About

PaySimple Go Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages