Sam Choukri
3beae33bc0
Fix json parsing of the details
field in API error responses with a new ErrorResponseDetail
type.
...
The `details` field in the json response from API errors is an array of json objects (not a single object).
Also, the value for the "link" object is not a string but rather another nested array of json objects.
The parsing of the `details` json field is now correctly unmarshalled into a new `ErrorResponseDetail` type
instead of the previously broken `map[string]string` type.
2017-10-26 10:15:12 -07:00
Alex Pliutau
08326c3caa
#40 Change Details type to be a map
2017-10-14 16:51:13 +07:00
Alex Pliutau
9e9173db8d
Merge pull request #39 from logpacker/bugfix/go_linting
...
Fix linter issues
2017-10-02 22:34:11 -05:00
Alex Pliutau
36bba2d583
Fix linter issues
2017-10-02 22:30:39 -05:00
Alex Pliutau
1bdb88fd4b
Merge pull request #38 from porty/specify-payout-sender-batch-id
...
Add sender_batch_id to payout SenderBatchHeader object
2017-10-02 19:59:24 -05:00
Robert McNeil
0144d81813
Add sender_batch_id to payout SenderBatchHeader object
2017-10-02 17:12:42 +11:00
Alex Pliutau
a54f82dc61
Merge pull request #35 from logpacker/feature/go_19
...
Add Go 1.9 support in Travis
2017-09-27 18:40:50 -05:00
Alex Pliutau
b1a843f748
Merge pull request #37 from logpacker/issue/31
...
Change deprecated POST payout?sync_mode=true to async
2017-09-27 18:40:43 -05:00
Alex Pliutau
b5e9ae1c2d
Merge pull request #36 from logpacker/issue/33
...
#33 Send only Plan ID when create agreement
2017-09-27 18:40:36 -05:00
Alex Pliutau
693bf6c166
Fix IT
2017-09-27 17:20:09 -05:00
Alex Pliutau
03d54d5563
#31 Change deprecated POST payout?sync_mode=true to async
2017-09-27 17:19:02 -05:00
Alex Pliutau
b12ee60c90
#33 Send only Plan ID when create agreement
2017-09-27 17:16:10 -05:00
Alex Pliutau
8b01e9c860
Add Go 1.9 support in Travis
2017-09-27 17:10:33 -05:00
Alex Pliutau
f48535a92e
Merge pull request #34 from florin-rada/amount_details
...
Added Details Struct and added Details Member to Amount struct
2017-09-27 17:06:14 -05:00
Rada Florin
9ae117226f
Cleanup from editing.
2017-09-26 18:37:31 +03:00
Rada Florin
f9d30e2c20
Added Details Struct and added Details Member to Amount struct so payments that includ shipping cost can be send with the Transaction struct
2017-09-26 18:26:02 +03:00
envy124
d30e9ced1e
Merge pull request #32 from logpacker/feature_billing_plan
...
Feature billing plan
2017-09-08 14:26:30 +03:00
envy124
87b4c45133
billing endpoints
2017-09-06 11:15:21 +03:00
envy124
f788a0929c
int in str unmarshall fixed
2017-08-24 18:03:34 +03:00
envy124
08b9849c20
BillingExample name config fixed
2017-08-24 17:43:41 +03:00
envy124
ce8c1014ec
ExecuteApprovedAgreement added
2017-08-24 13:22:46 +03:00
envy124
d4da804af2
MerchantPreferences.SetupFee omitempty
2017-08-24 09:08:31 +03:00
envy124
3f9821784c
example billing test
2017-07-27 17:46:02 +03:00
envy124
1f84980013
BillingAgreement definition
2017-07-23 09:50:02 +03:00
envy124
77c97c8824
ActivatePlan definition
2017-07-22 15:54:57 +03:00
envy124
e033a62fe2
CreateBillingPlan definition
2017-07-22 14:54:28 +03:00
envy124
f12db62995
PaymentDefinition add ID field
2017-07-22 14:48:16 +03:00
envy124
cd4c6831c7
billing structures
2017-07-20 12:07:11 +03:00
Alex Pliutau
6745ee0f80
Merge pull request #30 from vvakame/feature-http-client
...
Add SetHTTPClient function to *Client
2017-07-09 21:21:42 +07:00
Alex Pliutau
3b03097b1b
Merge branch 'master' into feature-http-client
2017-07-09 21:20:19 +07:00
Alex Pliutau
24bb73cc93
Merge pull request #29 from brycekahle/fix-token-refresh
...
Fix access token refresh
2017-07-09 21:18:39 +07:00
vvakame
c9eb8b7137
Add SetHTTPClient function to *Client
...
When we use GoogleAppEngine/Go environment, We should replace http.Client to urlfetch.Client.
2017-07-07 18:57:02 +09:00
Bryce Kahle
a4e4a4476c
Use t.Sub(time.Now()) because time.Until isn't available until go 1.8
2017-07-06 19:08:37 -04:00
Bryce Kahle
d06b0102ce
Fix access token refresh
2017-07-06 18:52:39 -04:00
Aliaksandr Pliutau
f9536247c0
Merge pull request #28 from seriallink/master
...
Added the external_customer_id property
2017-07-06 15:14:40 +07:00
Marcelo Monaco
dde90cce4c
The payer_id property is being deprecated in favor of the external_customer_id property.
2017-05-25 18:27:19 -03:00
Marcelo Monaco
8192718364
The payer_id property is being deprecated in favor of the external_customer_id property.
2017-05-25 18:16:33 -03:00
Aliaksandr Pliutau
bf577f049a
Tests fix
2017-04-05 10:47:11 +07:00
Aliaksandr Pliutau
d3229e32c6
Fixed #26
2017-04-05 10:37:54 +07:00
Aliaksandr Pliutau
d73d7cf8c0
Merge pull request #25 from ssherriff/master
...
Vault delete shouldn’t expect a response
2017-03-21 17:53:55 +07:00
ssherriff
9e6f08db11
Vault delete shouldn’t expect a response
...
Vault DELETE returns empty content.
Trying to retreive a response was causing an EOF error.
2017-03-21 21:29:57 +11:00
Aliaksandr Pliutau
541052cf48
#23 : fixed
2017-03-02 11:19:08 +07:00
Aliaksandr Pliutau
d6826294e2
#23 : travis -tags=unit
2017-03-02 10:54:27 +07:00
Aliaksandr Pliutau
dd920d5151
#23 : unit_test.go, integration_test.go
2017-03-02 10:43:23 +07:00
Aliaksandr Pliutau
77132c2781
sourcegraph: used by
2017-02-13 11:00:23 +07:00
Aliaksandr Pliutau
0b9ce9a464
Merge pull request #22 from KISI/master
...
change type of Item.Amount from string to int to get it working with …
2017-02-07 16:14:40 +07:00
Jonathan Weber
13492e99b9
change type of Item.Amount from string to int to get it working with the newest PayPal API
2017-01-27 15:00:29 +01:00
Aliaksandr Pliutau
7b764347d0
Fixed #21
2017-01-10 15:39:27 +07:00
Aliaksandr Pliutau
9cee417524
2017
2017-01-10 15:37:26 +07:00
Aliaksandr Pliutau
68c4637d96
Merge pull request #20 from dchusovitin/patch-1
...
Fixed panic on logging requests without body (GET)
2016-12-29 09:32:30 +07:00