Skip to content

Commit

Permalink
Fix possible unmarsheling error when empty int
Browse files Browse the repository at this point in the history
  • Loading branch information
gee-m committed Jan 26, 2017
1 parent a8ab292 commit 0ff99ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type Transaction struct {
CVVResponseCode string `xml:"cvv-response-code,omitempty"`

RefundedTransactionId *string `xml:"refunded-transaction-id,omitempty"`
ProcessorResponseCode int `xml:"processor-response-code,omitempty"`
ProcessorResponseCode string `xml:"processor-response-code,omitempty"`
ProcessorResponseText string `xml:"processor-response-text,omitempty"`
ProcessorAuthorizationCode string `xml:"processor-authorization-code,omitempty"`
SettlementBatchId string `xml:"settlement-batch-id,omitempty"`
Expand Down

0 comments on commit 0ff99ba

Please sign in to comment.