forked from go-packages/paypal
Fixed #10
This commit is contained in:
parent
91a99ea62c
commit
deda5496ff
|
@ -36,7 +36,7 @@ import "github.com/logpacker/PayPal-Go-SDK"
|
||||||
```go
|
```go
|
||||||
// Create a client instance
|
// Create a client instance
|
||||||
c, err := paypalsdk.NewClient("clientID", "secretID", paypalsdk.APIBaseSandBox)
|
c, err := paypalsdk.NewClient("clientID", "secretID", paypalsdk.APIBaseSandBox)
|
||||||
c.SetLogFile("/tpm/paypal-debug.log") // Set log file if necessary
|
c.SetLog(os.Stdout) // Set log to terminal stdout
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Get access token
|
#### Get access token
|
||||||
|
|
Loading…
Reference in New Issue
Block a user