Skip to content

Commit

Permalink
Update globalpay_remote.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter authored Dec 31, 2023
1 parent 1ee4fd9 commit f496399
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public function send(): void {
'cc_issue' => $this->request->post['cc_issue']
];

$encryption = new \Encryption((int)$this->config->get('config_encryption'));
$encryption = new \Encryption();

$md = $encryption->encrypt((int)$this->config->get('config_encryption'), json_encode($enc_data));

Expand Down Expand Up @@ -236,7 +236,7 @@ public function acsReturn(): void {

$post = $this->request->post;

$encryption = new \Encryption((int)$this->config->get('config_encryption'));
$encryption = new \Encryption();

$md = json_decode($encryption->decrypt((int)$this->config->get('config_encryption'), $post['MD']), true);

Expand Down

0 comments on commit f496399

Please sign in to comment.