Fix purchase generation
authorChristian Weiske <cweiske@cweiske.de>
Wed, 15 Jan 2020 20:22:42 +0000 (21:22 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Wed, 15 Jan 2020 20:22:42 +0000 (21:22 +0100)
bin/import-game-data.php

index 95549d33de179a57f5249e515f2feff89d8ace94..fba427d6a97cd2b590d684d1cb37b5a6ad4a316b 100755 (executable)
@@ -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-c3e1500cafe2',//gamer uuid
+            'gamer'        => '00702342-0000-1111-2222-c3e1500cafe2',//gamer uuid
+            'uuid'         => '00702342-0000-1111-2222-c3e1500beef3',//transaction ID
             'priceInCents' => $promotedProduct->originalPrice * 100,
             'localPrice'   => $promotedProduct->localPrice,
             'currency'     => $promotedProduct->currency,
             'priceInCents' => $promotedProduct->originalPrice * 100,
             'localPrice'   => $promotedProduct->localPrice,
             'currency'     => $promotedProduct->currency,