Skip to content

Commit 20aeeb6

Browse files
committed
taksit kelimesi türkçe kalmış, Installment olarak düzeltildi. http protokolü https olarak düzeltildi
1 parent 97a87a4 commit 20aeeb6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/vendor
22
/nbproject
33
composer.lock
4-
composer.phar
4+
composer.phar
5+
.idea/
6+
src/.DS_Store

src/Message/PurchaseRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function getData() {
6666
$data['UserId'] = '';
6767
$data['Type'] = $this->getType();
6868
$data['Currency'] = $this->currencies[$currency];
69-
$data['Taksit'] = $this->getInstallment();
69+
$data['Installment'] = $this->getInstallment();
7070

7171
$data['Total'] = $this->getAmount();
7272
$data['Number'] = $this->getCard()->getNumber();
@@ -90,7 +90,7 @@ public function sendData($data) {
9090
$gateway = $this->getBank();
9191

9292
// Todo: http protocol
93-
$protocol = 'http://';
93+
$protocol = 'https://';
9494

9595
if (!array_key_exists($gateway, $this->endpoints)) {
9696
throw new \Exception('Invalid Gateway');

0 commit comments

Comments
 (0)