From 0ff99ba516e051d4b9ab02578d15d46d7a0fcccd Mon Sep 17 00:00:00 2001 From: Guillaume Merindol Date: Thu, 26 Jan 2017 16:02:44 +0100 Subject: [PATCH] Fix possible unmarsheling error when empty int --- transaction.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transaction.go b/transaction.go index 6a72b984..8012add7 100644 --- a/transaction.go +++ b/transaction.go @@ -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"`