Skip to content

Commit

Permalink
Readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaratsky committed Nov 29, 2015
1 parent 98590a1 commit 37c3e40
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Installation
0. Add the php-webmoney dependency:
```
php composer.phar require baibaratsky/php-webmoney:0.12.*
php composer.phar require baibaratsky/php-webmoney:0.13.*
```
Usage
Expand All @@ -67,7 +67,10 @@ $request = new WebMoney\Api\X\X9\Request;
$request->setSignerWmid('YOUR WMID');
$request->setRequestedWmid('REQUESTED WMID');
$request->sign(new Signer('YOUR WMID', 'FULL PATH TO KEY FILE', 'KEY FILE PASSWORD'));
$request->sign(new Signer('YOUR WMID', 'FULL PATH TO THE KEY FILE', 'KEY FILE PASSWORD'));
// Replace the sign() call with this string in case of authentication with a Light certificate:
// $request->cert('FULL PATH TO THE CERTIFICATE FILE', 'FULL PATH TO THE CERTIFICATE KEY');
// You can access the request XML: $request->getData()
Expand Down

0 comments on commit 37c3e40

Please sign in to comment.