Add price

This commit is contained in:
Michael RICOIS 2013-11-12 16:48:03 +00:00
parent 4066f12763
commit 4be1e0a960
4 changed files with 6 additions and 5 deletions

View File

@ -35,9 +35,9 @@ profil.db.sdv1.params.password=bj10sx
profil.db.sdv1.params.dbname=partner
profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
profil.report.username=partner144
profil.report.password=yY2Uhp0mf5
profil.report.montant = 21.53
profil.report.username=mricois
profil.report.password=ju2loh6o
profil.report.montant=21.53
[staging : production]

View File

@ -195,7 +195,6 @@ class ReportController extends Zend_Controller_Action
//Test
$session = new Zend_Session_Namespace('Cmd');
$this->view->CmdID = 'test';
$this->view->Siren = $session->CmdSiren;
$this->view->RaisonSociale = $session->CmdRaisonSociale;
$this->view->AdresseL1 = $session->CmdAdresseL1;
@ -256,7 +255,7 @@ class ReportController extends Zend_Controller_Action
$paybox->setEmail($row->email);
$paybox->setReference($cmdId);
$paybox->setMontant($c->profil->report->montant);
$paybox->setUrlParameters();
$paybox->setUrlParameters("http://partner.sd.dev/report/retour");
$paybox->calculateHMAC();
$this->view->PayboxUrl = $paybox->getFormUrl();

View File

@ -37,6 +37,7 @@ profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
profil.report.username=partner144
profil.report.password=yY2Uhp0mf5
profil.report.montant=21.53
[staging : production]
resources.frontController.params.displayExceptions = 1

View File

@ -37,6 +37,7 @@ profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
profil.report.username=partner144
profil.report.password=yY2Uhp0mf5
profil.report.montant=21.53
[staging : production]
resources.frontController.params.displayExceptions = 1