git.cweiske.de
/
stouyapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5cbf471
)
Fix purchase generation
author
Christian Weiske
<cweiske@cweiske.de>
Wed, 15 Jan 2020 20:22:42 +0000
(21:22 +0100)
committer
Christian Weiske
<cweiske@cweiske.de>
Wed, 15 Jan 2020 20:22:42 +0000
(21:22 +0100)
bin/import-game-data.php
patch
|
blob
|
history
diff --git
a/bin/import-game-data.php
b/bin/import-game-data.php
index 95549d33de179a57f5249e515f2feff89d8ace94..fba427d6a97cd2b590d684d1cb37b5a6ad4a316b 100755
(executable)
--- a/
bin/import-game-data.php
+++ b/
bin/import-game-data.php
@@
-509,8
+509,8
@@
function buildPurchases($game)
'purchaseDate' => time() * 1000,
'generateDate' => time() * 1000,
'identifier' => $promotedProduct->identifier,
'purchaseDate' => time() * 1000,
'generateDate' => time() * 1000,
'identifier' => $promotedProduct->identifier,
- 'gamer' => '
stouyapi',
- 'uuid' => '00702342-0000-1111-2222-c3e1500
cafe2',//gamer uuid
+ 'gamer' => '
00702342-0000-1111-2222-c3e1500cafe2',//gamer uuid
+ 'uuid' => '00702342-0000-1111-2222-c3e1500
beef3',//transaction ID
'priceInCents' => $promotedProduct->originalPrice * 100,
'localPrice' => $promotedProduct->localPrice,
'currency' => $promotedProduct->currency,
'priceInCents' => $promotedProduct->originalPrice * 100,
'localPrice' => $promotedProduct->localPrice,
'currency' => $promotedProduct->currency,