Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Identifiant parameter ? #77

Open
Karhal opened this issue Aug 4, 2016 · 0 comments
Open

Identifiant parameter ? #77

Karhal opened this issue Aug 4, 2016 · 0 comments

Comments

@Karhal
Copy link

Karhal commented Aug 4, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant