From d402ed4b716e42a0f7fd97fd80b1d1ba78b0ffc0 Mon Sep 17 00:00:00 2001 From: dlamarmorgan Date: Tue, 11 Apr 2023 12:15:04 -0700 Subject: [PATCH] satellite/payments/stripe/service.go: fix typo in credit note memo Remove the extra prepended '0x' from the wallet address. Remove prepended '0x' from the transaction ID. Change-Id: Id215536915fba62cc348aa2c3356ecc7898d68a2 --- satellite/payments/stripe/service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/satellite/payments/stripe/service.go b/satellite/payments/stripe/service.go index f0db054f0..33ade9d46 100644 --- a/satellite/payments/stripe/service.go +++ b/satellite/payments/stripe/service.go @@ -393,9 +393,9 @@ func (service *Service) addCreditNoteToInvoice(ctx context.Context, invoiceID, c Params: stripe.Params{Context: ctx}, Invoice: stripe.String(invoiceID), Lines: lineParams, - Memo: stripe.String("Storjscan Token Payment - Wallet: 0x" + wallet), + Memo: stripe.String("Storjscan Token Payment - Wallet: " + wallet), } - params.AddMetadata("txID", "0x"+strconv.FormatInt(txID, 10)) + params.AddMetadata("txID", strconv.FormatInt(txID, 10)) params.AddMetadata("wallet address", wallet) creditNote, err := service.stripeClient.CreditNotes().New(params) if err != nil {