Skip to content

Commit 0ae572c

Browse files
author
Zaki Ibrahim
authored
Merge pull request #22 from Xaxxis/main
v1.3.5 - add field installment_terms and three_ds_version on TransactionStatusResponse struct
2 parents e3c6ffc + fd6570d commit 0ae572c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

coreapi/response.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ type TransactionStatusResponse struct {
118118
CustomField3 string `json:"custom_field3"`
119119
Metadata interface{} `json:"metadata"`
120120
PaymentOptionsType string `json:"payment_options_type"`
121+
InstallmentTerms int `json:"installment_terms"`
122+
ThreeDsVersion string `json:"three_ds_version"`
121123
}
122124

123125
type TransactionStatusB2bResponse struct {

midtrans.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const (
2020
Production
2121

2222
//libraryVersion : midtrans go library version
23-
libraryVersion = "v1.3.4"
23+
libraryVersion = "v1.3.5"
2424
)
2525

2626
//ServerKey is config payment API key for global use

0 commit comments

Comments
 (0)