From a2b0d145074e104983ac6450967908b91f50bade Mon Sep 17 00:00:00 2001 From: Adrian Date: Mon, 1 Apr 2019 06:36:40 +0100 Subject: [PATCH] google: use orderId for transactionId (#56) fixes #44 --- lib/google/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/google/index.js b/lib/google/index.js index 07b621a..bceeb08 100644 --- a/lib/google/index.js +++ b/lib/google/index.js @@ -13,7 +13,7 @@ function parseResult(resultString, payment) { return { receipt: result, - transactionId: payment.receipt, + transactionId: result.orderId, productId: payment.productId, purchaseDate: purchaseDate, expirationDate: expirationDate