From 1e929075869750ff98df4d0dcf992b154b88b64f Mon Sep 17 00:00:00 2001 From: Artyom Blagov Date: Wed, 1 Aug 2018 18:19:38 +0300 Subject: [PATCH] change ResultCode type from string to int --- model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model.go b/model.go index 9123c18..1d0a5d2 100644 --- a/model.go +++ b/model.go @@ -210,7 +210,7 @@ type PaymentCallback struct { CheckoutRequestID string // This is a numeric status code that indicates the status of the transaction processing. // 0 means successful processing and any other code means an error occurred or the transaction failed. - ResultCode string + ResultCode int // Result description is a message from the API that gives the status of the request processing, // usually maps to a specific ResultCode value. // It can be a Success processing message or an error description message.