You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,15 @@ This is the PHP client for the [CyberSource SOAP Toolkit API](http://www.cyberso
8
8
- PHP 5.3 or above
9
9
-[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
10
10
- 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).
12
12
13
13
14
14
##Installation
15
15
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:
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:
@@ -59,7 +62,7 @@ After configuring your merchant ID and transaction key in ````cybs.ini````, the
59
62
php samples/Sale.php
60
63
```
61
64
62
-
The samples will output the response object for each request if successful.
65
+
The samples will output the response object for each request if successful. Note that the samples contain test data and should not be run in a live environment.
63
66
64
67
##Tests
65
68
@@ -68,6 +71,8 @@ In order to run tests, you'll need [PHPUnit](https://phpunit.de). You'll also ne
68
71
composer.phar dump-autoload
69
72
```
70
73
74
+
If you installed PHPUnit with Composer, run the tests from the project root with the command ````vendor/bin/phpunit````.
75
+
71
76
##Documentation
72
77
73
78
For more information about CyberSource services, see <http://www.cybersource.com/developers/documentation>
0 commit comments