Skip to content

Commit 09dd52f

Browse files
author
tombatchelor
committed
Track all payment transactions
1 parent 46c8e57 commit 09dd52f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/paymentservice/charge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports.charge = async request => {
6161

6262
span.end();
6363

64-
// TODO; track transactions
64+
transactions.push(span);
6565

6666
const { units, nanos, currencyCode } = request.amount;
6767
logger.info({transactionId, cardType, lastFourDigits, amount: { units, nanos, currencyCode }}, "Transaction complete.");

0 commit comments

Comments
 (0)