Skip to content

Commit

Permalink
Renommage de Notification() en notification()
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgu74 committed Sep 27, 2013
1 parent fea5604 commit 4916dbe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Payutc/Bom/Payline.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function doWebPayment($usr, $amount, $returnURL, $cancelURL=null) {
} else {
$this->payline->cancelURL = $returnURL;
}
$this->payline->notificationURL = Config::get('server_url') . "PAYLINE/Notification";
$this->payline->notificationURL = Config::get('server_url') . "PAYLINE/notification";

// Insert a payline row in db and get the payment ref
$conn = Dbal::conn();
Expand Down Expand Up @@ -149,7 +149,7 @@ public function doWebPayment($usr, $amount, $returnURL, $cancelURL=null) {
/*
Recoit une notification de payline
*/
public function Notification($token) {
public function notification($token) {
$array = array();
$array['token'] = $token;
$array['version'] = '';
Expand Down
4 changes: 2 additions & 2 deletions src/Payutc/Service/PAYLINE.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ class PAYLINE {
/**
* Declenchement d'une notification de payline
*/
public function Notification() {
public function notification() {
global $_GET;
if(isset($_GET['token'])) {
$pl = new \Payutc\Bom\Payline(0, "PAYLINE");
$pl->Notification($_GET['token']);
$pl->notification($_GET['token']);
}
}

Expand Down

0 comments on commit 4916dbe

Please sign in to comment.