Skip to content

Commit 2e0decb

Browse files
committed
Modified readme. Changed client library field to "CyberSource PHP 2.0.0"
1 parent 91a7e72 commit 2e0decb

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ This is the PHP client for the [CyberSource SOAP Toolkit API](http://www.cyberso
88
- PHP 5.3 or above
99
- [curl](http://php.net/manual/en/book.curl.php), [openssl](http://php.net/manual/en/book.openssl.php), [soap](http://php.net/manual/en/book.soap.php) extensions must be enabled
1010
- A CyberSource account. You can create an evaluation account [here](http://www.cybersource.com/register/).
11-
- A CyberSource transaction key. You will need to set your merchant ID and transaction key in the ````cybs.ini```` file in ````lib/conf````. Instructions on obtaining a transaction key can be found [here](http://www.cybersource.com/developers/integration_methods/simple_order_and_soap_toolkit_api/soap_api/html/).
11+
- A CyberSource transaction key. You will need to set your merchant ID and transaction key in the ````cybs.ini```` file in ````lib/conf````. Instructions on obtaining a transaction key can be found [here](http://www.cybersource.com/developers/integration_methods/simple_order_and_soap_toolkit_api/soap_api/html/wwhelp/wwhimpl/js/html/wwhelp.htm#href=Intro.04.3.html).
1212

1313

1414
##Installation
1515

16-
You can install the client either via [Composer](https://getcomposer.org/) or manually. Before installing, make sure to configure the merchant ID, transaction key, and the WSDL file URL in ````cybs.ini````. By default, the WSDL file for the client is for API version 1.109.
16+
You can install the client either via [Composer](https://getcomposer.org/) or manually. Before installing, make sure to configure the merchant ID, transaction key, and the WSDL file URL in ````cybs.ini````. By default, the WSDL file for the client is for API version 1.109 (the latest when this package was created). Available WSDL file URLs can be browsed at the following locations:
17+
18+
- [test](https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor/)
19+
- [live](https://ics2ws.ic3.com/commerce/1.x/transactionProcessor/)
1720

1821
###Installing with Composer
1922
You'll first need to make sure you have Composer installed. You can follow the instructions on the [official web site](https://getcomposer.org/download/). Once Composer is installed, you can enter the project root and run:
@@ -68,6 +71,8 @@ In order to run tests, you'll need [PHPUnit](https://phpunit.de). You'll also ne
6871
composer.phar dump-autoload
6972
```
7073

74+
If you installed PHPUnit with Composer, run the tests from the project root with the command ````vendor/bin/phpunit````.
75+
7176
##Documentation
7277

7378
For more information about CyberSource services, see <http://www.cybersource.com/developers/documentation>

lib/CybsSoapClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function createRequest($merchantReferenceCode)
115115
$request = new stdClass();
116116
$request->merchantID = $this->merchantId;
117117
$request->merchantReferenceCode = $merchantReferenceCode;
118-
$request->clientLibrary = "PHP";
118+
$request->clientLibrary = "CyberSource PHP 2.0.0";
119119
$request->clientLibraryVersion = phpversion();
120120
$request->clientEnvironment = php_uname();
121121
return $request;

0 commit comments

Comments
 (0)