-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
Code cleanup, enable default payment method for payments, add iDEAL issuers
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
composer.lock | ||
vendor/* | ||
Tests/config.php | ||
tests/config.php | ||
.idea/ |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,52 @@ | ||
{ | ||
"name": "roelvanduijnhoven/docdata", | ||
"type": "library", | ||
"description": "PHP wrapper around DocData's API. Forked out of repo by @cleentfaar", | ||
"license": "BSD-3-Clause", | ||
"authors": [ | ||
{ | ||
"name": "Roel van Duijnhoven", | ||
"email": "roel@jouwweb.nl" | ||
"name": "roelvanduijnhoven/docdata", | ||
"description": "PHP wrapper around DocData's API.", | ||
"type": "library", | ||
"keywords": [ | ||
"docdata", | ||
"payments" | ||
], | ||
"license": "BSD-3-Clause", | ||
"authors": [ | ||
{ | ||
"name": "Roel van Duijnhoven", | ||
"email": "roel@jouwweb.nl", | ||
"role": "Developer, Maintainer" | ||
}, | ||
{ | ||
"name": "Willem Mouwen", | ||
"email": "willem@jouwweb.nl", | ||
"role": "Developer, Maintainer" | ||
}, | ||
{ | ||
"name": "Cas Leentfaar", | ||
"email": "info@casleentfaar.com", | ||
"role": "Original Developer" | ||
}, | ||
{ | ||
"name": "Tijs Verkoyen", | ||
"email": "php-docdatapayments@verkoyen.eu", | ||
"role": "Original developer" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.1.0", | ||
"psr/log": "~1.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "~4.1" | ||
}, | ||
"replace": { | ||
"cleentfaar/docdata-orderapi": "~1.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"JouwWeb\\DocData\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"JouwWeb\\DocData\\Tests\\": "tests/" | ||
} | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.4.0", | ||
"psr/log": "~1.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "~4.1" | ||
}, | ||
"target-dir": "CL/DocData/Component/OrderApi", | ||
"autoload": { | ||
"psr-0": { | ||
"CL\\DocData\\Component\\OrderApi": "" | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<?php | ||
|
||
/** | ||
* List of available issuers (banks) for iDeal at DocData. The key of each entry in the array is | ||
* the corresponding bank's BIC, or Bank Identifier Code. | ||
*/ | ||
|
||
return [ | ||
|
||
// Netherlands | ||
'ABNANL2A' => [ | ||
'name' => 'ABN Amro', | ||
'country' => 'NL', | ||
], | ||
'ASNBNL21' => [ | ||
'name' => 'ASN', | ||
'country' => 'NL', | ||
], | ||
'BUNQNL2A' => [ | ||
'name' => 'Bunq', | ||
'country' => 'NL', | ||
], | ||
'INGBNL2A' => [ | ||
'name' => 'ING', | ||
'country' => 'NL', | ||
], | ||
'KNABNL2H' => [ | ||
'name' => 'Knab', | ||
'country' => 'NL', | ||
], | ||
'RABONL2U' => [ | ||
'name' => 'Rabobank', | ||
'country' => 'NL', | ||
], | ||
'RBRBNL21' => [ | ||
'name' => 'RegioBank', | ||
'country' => 'NL', | ||
], | ||
'SNSBNL2A' => [ | ||
'name' => 'SNS Bank', | ||
'country' => 'NL', | ||
], | ||
'TRIONL2U' => [ | ||
'name' => 'Triodos Bank', | ||
'country' => 'NL', | ||
], | ||
'FVLBNL22' => [ | ||
'name' => 'van Lanschot', | ||
'country' => 'NL', | ||
], | ||
|
||
// Belgium | ||
'KREDBEBB' => [ | ||
'name' => 'KBC', | ||
'country' => 'BE', | ||
], | ||
|
||
// Others | ||
|
||
]; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Usage | ||
|
||
Coming soon! ... maybe. |