LexikPayboxBundle icon indicating copy to clipboard operation
LexikPayboxBundle copied to clipboard

Identifiant parameter ?

Open Karhal opened this issue 8 years ago • 0 comments

Hi and thank you for this bundle.

Payments work fine but I have some trouble with cancellations. Don't we need to send the 'identifiant' value ? As the doc says this parameter is required to get a command cancellation and actually we send the login value instead. Without it Paybox does not seem to authorize this operation.

// LexikPayboxBundle/Paybox/System/Cancellation/Request.php #63
protected function initParameters()
    {
        $this->setParameter('VERSION',     '001');
        $this->setParameter('TYPE',        '001');
        $this->setParameter('SITE',        $this->globals['site']);
        $this->setParameter('MACH',        sprintf('%03d', $this->globals['rank']));
        $this->setParameter('IDENTIFIANT', $this->globals['login']);
    }

Did I miss something ? Else, I would make a pull request if necessary.

Thank you

Karhal avatar Aug 04 '16 14:08 Karhal