Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kiboflavin authored Dec 13, 2016
1 parent a5755ca commit 11de850
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

# PHP Chase Paymentech Orbital Batch XML library

```php

$cust = array(
'ccAccountNum' => '341134113411347',
'ccExp' => '0120',
'avsAddress1' => '123 Fake Street',
'avsAddress2' => 'Hammock District',
'avsCity' => 'Springfield',
'avsState' => 'MA',
'avsZip' => '01101',
'amount' => '1000'
);

$request = new \OrbitalBatch\Request(
'gh-test',
ORBITAL_USERNAME,
ORBITAL_INDTYPE,
ORBITAL_BIN,
ORBITAL_MERCHANT_ID,
ORBITAL_TERMINAL_ID
);

$request->auth_capture($cust);

$xml = $request->createBatch();

file_put_contents($request->fileID. '.xml', $xml);
```

0 comments on commit 11de850

Please sign in to comment.