Skip to content

Commit

Permalink
Release 1.0.17
Browse files Browse the repository at this point in the history
- Remove omitempty tag from AmountAllocations's amount field (#96)
  • Loading branch information
armando-rodriguez-cko committed Dec 14, 2023
1 parent 077cb8e commit 68f26f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion client/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package client

const SDK_VERSION = "1.0.16"
const SDK_VERSION = "1.0.17"
11 changes: 6 additions & 5 deletions test/payments_request_apm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,11 +382,12 @@ func TestRequestPaymentsAPM(t *testing.T) {
FailureUrl: FailureUrl,
},
checkForPaymentRequest: func(response *nas.PaymentResponse, err error) {
assert.NotNil(t, err)
assert.Nil(t, response)
ckoErr := err.(errors.CheckoutAPIError)
assert.Equal(t, http.StatusUnprocessableEntity, ckoErr.StatusCode)
assert.Equal(t, "payee_not_onboarded", ckoErr.Data.ErrorCodes[0])
assert.Nil(t, err)
assert.NotNil(t, response)
},
checkForPaymentInfo: func(response *nas.GetPaymentResponse, err error) {
assert.Nil(t, err)
assert.NotNil(t, response)
},
},
{
Expand Down

0 comments on commit 68f26f6

Please sign in to comment.