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
+18-2Lines changed: 18 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ If you want to install SDK from Packagist,add the following dependency to your a
13
13
```
14
14
## Prerequisites
15
15
16
-
- PHP 5.3 or above
16
+
- PHP 7.3 or above
17
17
-[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
18
18
- A CyberSource account. You can create an evaluation account [here](http://www.cybersource.com/register/).
19
19
- 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).
@@ -27,8 +27,15 @@ You can install the client either via [Composer](https://getcomposer.org/) or ma
27
27
### Installing with Composer
28
28
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:
29
29
```
30
-
composer.phar install
30
+
Linux: composer.phar install
31
+
Windows: composer install
31
32
```
33
+
If you already have composer installed for the project, you'll need to run the update command as below
34
+
```
35
+
Linux: composer.phar update
36
+
Windows: composer update
37
+
```
38
+
32
39
Then, to use the client, you'll need to include the Composer-generated autoload file:
33
40
34
41
```php
@@ -103,6 +110,15 @@ php samples/Sale.php
103
110
104
111
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.
105
112
113
+
## Meta Key support
114
+
Meta Key is a key generated by an entity that can be used to authenticate on behalf of other entities provided that the entity which holds key is a parent entity or associated as a partner.
115
+
116
+
SOAP PHP SDK supports meta key by default. Additional detail regarding cybs.ini changes.
117
+
118
+
merchantID=\<Refers to portfolio or account MID> <br>
119
+
transaction_key=\<Soap password generated for meta key><br>
120
+
Send transacting merchantID in the sample request.
121
+
106
122
## Tests
107
123
108
124
In order to run tests, you'll need [PHPUnit](https://phpunit.de). You'll also need to use [Composer](https://getcomposer.org/) for autoloading. If you used Composer to install the client, this should already be set up. Otherwise, to use Composer for autoloading only, from the project root run
0 commit comments