From ae667517943c99a05ba81a47aa88fb5c053c86d9 Mon Sep 17 00:00:00 2001 From: Timothy Messer Date: Mon, 16 Jul 2018 16:52:55 -0500 Subject: [PATCH] Provide credit card info to Refund call --- payment_transactions.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/payment_transactions.go b/payment_transactions.go index 6631d58..23ffcbd 100644 --- a/payment_transactions.go +++ b/payment_transactions.go @@ -54,6 +54,9 @@ func (tranx NewTransaction) Refund() (*TransactionResponse, error) { TransactionType: "refundTransaction", Amount: tranx.Amount, RefTransId: tranx.RefTransId, + Payment: &Payment{ + CreditCard: tranx.CreditCard, + }, } response, err := SendTransactionRequest(new) return response, err