Analytics incorrect amount

Fixes #1014
Forgot to set variable
Merge pull request #1090 from JeffPyeBrook/pr-visitor-hash-hardening

Visitor Authentication Security Hardening
Merge pull request #1021 from misulicus/patch-16

Analytics incorrect amount
Give a proper wp_die() to malformed requests for sales logs.
Merge remote-tracking branch 'upstream/master' into dev-master