Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on shaCompose #25

Open
perie opened this issue Aug 24, 2021 · 0 comments
Open

error on shaCompose #25

perie opened this issue Aug 24, 2021 · 0 comments

Comments

@perie
Copy link

perie commented Aug 24, 2021

Attempted to call function "shaCompose" from namespace "BitBag\MercanetBnpParibasPlugin\Legacy"

public function shaCompose(array $parameters)
    {
        // compose SHA string
        $shaString = '';
        foreach ($parameters as $key => $value) {
            if ($key != 'keyVersion') {
                if (is_array($value)) {
                    shaCompose($value);
                } else {
                    $shaString .= $value;
                }
            }
        }
        $shaString = str_replace("[", "", $shaString);
        $shaString = str_replace("]", "", $shaString);
        $shaString = str_replace("\",\"", "", $shaString);
        $shaString = str_replace("\"", "", $shaString);
        return $shaString;
    }

missing the $this-> before the shaCompose call;

This issue does not allow multiple payment with the instalment data.

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

No branches or pull requests

1 participant