Skip to content

Commit

Permalink
Merge pull request #270 from rborn/develop
Browse files Browse the repository at this point in the history
Map orderId for transactionId on google
  • Loading branch information
voltrue2 authored Aug 14, 2019
2 parents fe3348f + de2e63f commit e966ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/google.js
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ module.exports.getPurchaseData = function (purchase, options) {
}
var data = [];
var purchaseInfo = responseData.parse(purchase);
purchaseInfo.transactionId = purchase.purchaseToken;
purchaseInfo.transactionId = purchase.orderId;
purchaseInfo.purchaseDate = purchase.purchaseTime;
purchaseInfo.quantity = 1;

Expand Down

0 comments on commit e966ee1

Please sign in to comment.