https://github.com/tredmann/arvato-infoscore-sdk
PHP SDK for Arvato Infoscore Service
https://github.com/tredmann/arvato-infoscore-sdk
Last synced: about 1 month ago
JSON representation
PHP SDK for Arvato Infoscore Service
- Host: GitHub
- URL: https://github.com/tredmann/arvato-infoscore-sdk
- Owner: tredmann
- Created: 2013-09-30T08:57:37.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-16T15:18:17.000Z (over 12 years ago)
- Last Synced: 2025-03-03T09:27:37.385Z (over 1 year ago)
- Language: PHP
- Homepage: http://www.tricd.de
- Size: 156 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
arvato-infoscore-sdk
====================
PHP SDK for Arvato Infoscore Service
## Use the SDK
### Create an Infoscore Object
$credentials = array(
'PartnerNo' => '69999',
'PartnerCode' => '69990600'
);
$infoscore = new Infoscore($credentials);
### Validate a customer
$cust_attrs = array(
'LastName' => 'Lotter',
'FirstName' => 'Ingrid',
'Street' => 'Kemptener Str.',
'City' => 'Lindau',
'ZIP' => '88131',
'House' => '70A',
'Country' => 'de'
);
$customer = new Customer($cust_attrs);
$response = $infoscore->checkES15($customer);
if ($response === false) {
var_dump($infoscore->errors);
} else {
if ($response->isValid()) {
}
}