Skip to content

Commit

Permalink
typo?
Browse files Browse the repository at this point in the history
  • Loading branch information
busgurlu authored Sep 5, 2019
1 parent 9f4ed1a commit e3129e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Message/PostRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ public function getData()
'oid' => $this->getTransactionId(),
'okUrl' => $this->getReturnUrl(),
'failUrl' => $this->getReturnUrl(),
'callbackUrl' => $this->getNotifyUrl(),
'callbackurl' => $this->getNotifyUrl(),
'rnd' => $this->getRnd(),
'lang' => $this->getLang(), // en, tr
'taksit' => $this->getInstallment(),
'hash' => '',
'refreshtime' => $this->getRefreshtime()
];
$plaintext = $data['clientid'] . $data['oid'] . $this->getAmount() . $data['okUrl'] . $data['failUrl'] . $data['islemtipi'] . $data['taksit'] . $data['rnd'] . $data['callbackUrl'] . $this->getStoreKey();
$plaintext = $data['clientid'] . $data['oid'] . $this->getAmount() . $data['okUrl'] . $data['failUrl'] . $data['islemtipi'] . $data['taksit'] . $data['rnd'] . $data['callbackurl'] . $this->getStoreKey();
$data['hash'] = base64_encode(pack('H*', sha1($plaintext)));

$data['Email'] = $this->getCard()->getEmail();
Expand Down

0 comments on commit e3129e0

Please sign in to comment.