Skip to content

Commit d4c5ae9

Browse files
committed
Minor fixes
1 parent b9d0900 commit d4c5ae9

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ Add this to your project composer.json:
1818

1919
```
2020
"require": {
21-
"vinceg/firstdataapi": "dev-master"
21+
"integready/firstdataapi": "dev-master"
2222
},
2323
```
2424

2525
To use the component:
2626

2727
```php
2828
<?php
29-
use VinceG\FirstDataApi\FirstData;
29+
use integready\firstdataapi\FirstData;
3030

3131
//
3232
// 3rd Parameter sets debug mode on.

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@
77
"authors": [],
88
"require": {
99
"php": ">=7.1",
10-
"ext-curl": "*"
10+
"ext-curl": "*",
11+
"ext-json": "*"
1112
},
1213
"autoload": {
1314
"psr-0": {
14-
"integready\\FirstDataApi\\": "integready/FirstDataApi/src"
15+
"integready\\firstdataapi\\": "integready/firstdataapi/src"
1516
}
1617
},
17-
"target-dir": "integready/FirstDataApi",
18+
"target-dir": "integready/firstdataapi",
1819
"minimum-stability": "stable"
1920
}
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?php
2-
namespace integready\FirstDataApi;
2+
3+
namespace integready\firstdataapi;
34

45
/**
56
* First Data
@@ -94,7 +95,6 @@ class FirstData
9495
CURLOPT_PORT => 443,
9596
CURLOPT_USERAGENT => 'curl-php',
9697
CURLOPT_FOLLOWLOCATION => false,
97-
CURLOPT_RETURNTRANSFER => true,
9898
CURLOPT_CUSTOMREQUEST => 'POST',
9999
CURLOPT_HTTPHEADER => array('Content-Type: application/json; charset=UTF-8;','Accept: application/json' ),
100100
);
@@ -336,6 +336,8 @@ public function setCreditCardAddress($address) {
336336
*/
337337
public function setCreditCardAddressNew($address) {
338338
$this->setPostData('address',$address);
339+
340+
return $this;
339341
}
340342
/**
341343
* set credit card cvv code

0 commit comments

Comments
 (0)