Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#NotificationPhpClient
# NotificationPhpClient

##What is NotificationPhpClient?
## What is NotificationPhpClient?

This is a library for [webtopay.com Notification API][1]. It allows you to easily check sign and parse the callback request
from webtopay.com about funds in your account. You have to set-up notifications in "Account settings" page on
webtopay.com to get the notifications.

##Installation
## Installation

###Manual
### Manual
* Use `git clone https://github.com/evp/NotificationPhpClient.git` to copy the NotificationPhpClient directory to your
project directory.
* Add the following code to your PHP file where you intend to check notification callbacks:
Expand All @@ -21,12 +21,12 @@ project directory.
This will ensure that all of the library's classes are properly loaded.
Make sure you change the 'path/to' to the actual path of the NotificationPhpClient.

###Composer
### Composer

* Add `"paysera/notification-php-client": "dev-master"` dependency to composer.json file.
* Execute `composer update paysera/notification-php-client` in your project directory.

##Using the library
## Using the library

```php
$notification = Evp_Notification_Container::create()->getRequestParser()->parseRequest($_POST);
Expand Down Expand Up @@ -75,7 +75,7 @@ try {
```


##Running tests
## Running tests

Run `phpunit` in the base directory.

Expand Down