Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 776d098

Browse files
authoredMar 23, 2018
Merge pull request #8 from lbali/yasin
taksit ve protokol hatası
2 parents 97a87a4 + 20aeeb6 commit 776d098

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)
Please sign in to comment.