diff --git a/snapporder/lib/CryptoHelper.php b/snapporder/lib/CryptoHelper.php index fb7e0bf..dd97568 100644 --- a/snapporder/lib/CryptoHelper.php +++ b/snapporder/lib/CryptoHelper.php @@ -58,7 +58,7 @@ class CryptoHelper } public function json_encode_and_encrypt($data) { - return $this->encode(json_encode($data)); + return $this->encrypt(json_encode($data)); } }