Skip to content

ApiKey value could have '=' characters #7

Description

@massimone88

I'm trying to test a apiKey Authentication with Gestpay using this library (useful btw).
In sandbox mode I didn't have any problem.
In production mode, the gestpay console gives me an base64 string as apikey (it's ends with two =) and the library doesn't works because = it's considered ad invalid character.

Exception InvalidArgumentException: "String thisIsMyApiKeyAsABase64String== contains invalid chars (i.e.: "=", "=")." at endelwar/gestpayws/src/Parameter/EncryptParameter.php line 184.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions